toaruos/base/usr/include/stdlib.h
2018-05-02 19:25:03 +09:00

23 lines
548 B
C

#pragma once
#include <stddef.h>
extern void exit(int status);
extern char * getenv(const char *name);
extern void *malloc(size_t size);
extern void free(void *ptr);
extern void *calloc(size_t nmemb, size_t size);
extern void *realloc(void *ptr, size_t size);
extern void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void*,const void*));
extern int system(const char * command);
extern int abs(int j);
extern int putenv(char * name);
extern int setenv(const char *name, const char *value, int overwrite);
#define NULL 0