* Copyright (c) 1990 The Regents of the University of California.
* %sccs.include.redist.c%
* @(#)stdlib.h 5.3 (Berkeley) %G%
#include <machine/machtypes.h>
typedef _WCHAR_T_
wchar_t;
long quot
; /* quotient */
long rem
; /* remainder */
#define RAND_MAX 0x7ffffffff
#define MB_CUR_MAX 1 /* XXX */
#if __STDC__ || c_plusplus
int atexit(void (*_func
)(void));
double atof(const char *_nptr
);
int atoi(const char *_nptr
);
long atol(const char *_nptr
);
void *bsearch(const void *_key
, const void *_base
, size_t _nmemb
,
size_t _size
, int (*_compar
)(const void *, const void *));
void *calloc(size_t _nmemb
, size_t _size
);
div_t div(int _numer
, int _denom
);
char *getenv(const char *_string
);
ldiv_t ldiv(long _numer
, long _denom
);
void *malloc(size_t _size
);
void qsort(void *_base
, size_t _nmemb
, size_t _size
,
int (*_compar
)(const void *, const void *));
void *realloc(void *_ptr
, size_t _size
);
void srand(unsigned _seed
);
long strtol(const char *_nptr
, char **_endptr
, int _base
);
strtoul(const char *_nptr
, char **_endptr
, int _base
);
int system(const char *_string
);
int putenv(const char *_string
);
int setenv(const char *_string
, const char *_value
, int _overwrite
);
#ifdef NOT_YET_IMPLEMENTED
int mblen(const char *_s
, size_t _n
);
size_t mbstowcs(wchar_t *_pwcs
, const char *_s
, size_t _n
);
int wctomb(char *_s
, wchar_t _wchar
);
int mbtowc(wchar_t *_pwc
, const char *_s
, size_t _n
);
double strtod(const char *_nptr
, char **_endptr
);
size_t wcstombs(char *_s
, const wchar_t *_pwcs
, size_t _n
);
#ifdef NOT_YET_IMPLEMENTED