23 lines
336 B
C
23 lines
336 B
C
|
|
#ifndef __STDLIB_H__
|
|
#define __STDLIB_H__
|
|
|
|
#include <sys/types.h>
|
|
|
|
#ifndef NULL
|
|
#define NULL ((void *)0)
|
|
#endif
|
|
|
|
int atexit(void (*function)(void));
|
|
void exit(int status);
|
|
void abort(void);
|
|
|
|
void *calloc(size_t num, size_t sz);
|
|
void *malloc(size_t sz);
|
|
void free(void *buf);
|
|
|
|
int atoi(const char *nptr);
|
|
|
|
#endif /* __STDLIB_H__ */
|
|
|