metal-cos/include/stdlib.h
2015-01-02 16:13:53 -08:00

20 lines
270 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 *malloc(size_t sz);
void free(void *buf);
#endif /* __STDLIB_H__ */