libc: add a range of header files
This commit is contained in:
@@ -4,10 +4,27 @@
|
||||
#include <stddef.h>
|
||||
|
||||
extern void abort(void);
|
||||
extern void exit(int result);
|
||||
extern int atexit(void (*func)(void));
|
||||
|
||||
extern void *malloc(size_t count);
|
||||
extern void *calloc(size_t count, size_t size);
|
||||
extern void *realloc(void *p, size_t count);
|
||||
extern void free(void *p);
|
||||
|
||||
extern long strtol(const char *restrict str, char **restrict str_end, int base);
|
||||
extern long long strtoll(
|
||||
const char *restrict str,
|
||||
char **restrict str_end,
|
||||
int base);
|
||||
|
||||
extern unsigned long strtoul(
|
||||
const char *restrict str,
|
||||
char **restrict endptr,
|
||||
int base);
|
||||
extern unsigned long long strtoull(
|
||||
const char *restrict str,
|
||||
char **restrict str_end,
|
||||
int base);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user