2018-10-24 10:43:52 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-31 01:09:11 +00:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#include <sys/types.h>
|
2018-10-24 10:43:52 +00:00
|
|
|
|
2018-10-31 01:09:11 +00:00
|
|
|
__BEGIN_DECLS
|
2018-10-24 10:43:52 +00:00
|
|
|
|
2018-11-06 09:46:40 +00:00
|
|
|
void* malloc(size_t) __MALLOC;
|
2018-10-24 10:43:52 +00:00
|
|
|
void free(void*);
|
2018-10-28 08:36:21 +00:00
|
|
|
void* calloc(size_t nmemb, size_t);
|
|
|
|
void* realloc(void *ptr, size_t);
|
2018-10-31 16:50:43 +00:00
|
|
|
char* getenv(const char* name);
|
|
|
|
int atoi(const char*);
|
2018-10-31 09:14:56 +00:00
|
|
|
|
2018-11-06 09:46:40 +00:00
|
|
|
void exit(int status) __NORETURN;
|
|
|
|
void abort() __NORETURN;
|
2018-10-24 10:43:52 +00:00
|
|
|
|
2018-10-31 01:09:11 +00:00
|
|
|
__END_DECLS
|
2018-10-24 10:43:52 +00:00
|
|
|
|