mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-05-25 22:14:28 +00:00
35 lines
570 B
C
35 lines
570 B
C
#ifndef _STDLIB_H
|
|
#define _STDLIB_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#define EXIT_FAILURE 1
|
|
#define EXIT_SUCCESS 0
|
|
|
|
void abort(void);
|
|
int atexit(void (*function)(void));
|
|
void exit(int status);
|
|
int atoi(const char *nptr);
|
|
char *getenv(const char *name);
|
|
|
|
void *malloc(size_t Size);
|
|
void *realloc(void *Address, size_t Size);
|
|
void *calloc(size_t Count, size_t Size);
|
|
void free(void *Address);
|
|
int system(const char *command);
|
|
|
|
double atof(const char *nptr);
|
|
|
|
extern void perror(const char *s);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|