1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:57:44 +00:00

LibC: A bunch of compat work towards porting GCC.

This commit is contained in:
Andreas Kling 2019-02-24 15:19:32 +01:00
parent 9fd4f4862b
commit 93c0dfd1d7
18 changed files with 166 additions and 13 deletions

View file

@ -16,6 +16,8 @@ void* realloc(void *ptr, size_t);
char* getenv(const char* name);
int atoi(const char*);
long atol(const char*);
long strtol(const char*, char** endptr, int base);
unsigned long strtoul(const char*, char** endptr, int base);
void qsort(void* base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
__attribute__((noreturn)) void exit(int status);
__attribute__((noreturn)) void abort();