stdlib.h 324 B

12345678910111213141516171819
  1. #pragma once
  2. #include <sys/cdefs.h>
  3. #include <sys/types.h>
  4. __BEGIN_DECLS
  5. void* malloc(size_t) __MALLOC;
  6. void free(void*);
  7. void* calloc(size_t nmemb, size_t);
  8. void* realloc(void *ptr, size_t);
  9. char* getenv(const char* name);
  10. int atoi(const char*);
  11. void exit(int status) __NORETURN;
  12. void abort() __NORETURN;
  13. __END_DECLS