home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
languages
/
northc_384
/
include
/
stdlib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-30
|
685b
|
41 lines
#ifndef STDLIB_H
#define STDLIB_H
#define EXIT_FAILURE (20)
#define EXIT_SUCCESS (0)
#define MB_CUR_MAX (1)
#ifndef NULL
#define NULL (0L)
#endif
#define RAND_MAX (0x7FFF) /* maximum value from rand() */
extern void abort();
#define atof(str) strtod(str,NULL)
#define atol(str) strtol(str,NULL,10)
#define atoi(str) ((int)strtol(str,NULL,10))
extern char *bsearch();
extern char *calloc();
typedef struct
{int quot;
int rem;
} div_t;
typedef struct
{long quot;
long rem;
} ldiv_t;
extern div_t div();
extern char *getenv();
extern long labs();
extern char *malloc();
extern char *realloc();
extern double strtod();
extern long strtol();
#endif