2022-10-01 18:59:22 +00:00
|
|
|
#ifndef _STDLIB_H
|
|
|
|
#define _STDLIB_H
|
|
|
|
|
2022-10-04 17:06:56 +00:00
|
|
|
#include <_/macros.h>
|
2022-10-01 18:59:22 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
noreturn void abort();
|
|
|
|
noreturn void exit(int);
|
|
|
|
int atexit(void (*)(void));
|
|
|
|
int atoi(const char*);
|
|
|
|
void free(void*);
|
|
|
|
char* getenv(const char*);
|
|
|
|
void* malloc(size_t);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|