Subversion Repositories tendra.SVN

Rev

Rev 112 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
112 7u83 1
#ifndef __TENDRA_STDLIB_H
2
#define __TENDRA_STDLIB_H
3
 
4
#define	EXIT_FAILURE	1
5
#define	EXIT_SUCCESS	0
6
 
7
#define	RAND_MAX	0x7ffffffd
8
 
9
#define	MB_CUR_MAX	16 /*((size_t)___mb_cur_max())*/
10
typedef struct {
11
	int	quot;		/* quotient */
12
	int	rem;		/* remainder */
13
} div_t;
14
 
15
typedef struct {
16
	long	quot;
17
	long	rem;
18
} ldiv_t;
19
 
20
 
21
#endif
22