From e2b78d20b80d89321d8d9df3ab8ade8407642dfc Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Sun, 2 Jan 2022 22:56:02 +0100 Subject: Adding code --- include/10.libc/stdlib.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/10.libc/stdlib.h (limited to 'include/10.libc/stdlib.h') diff --git a/include/10.libc/stdlib.h b/include/10.libc/stdlib.h new file mode 100644 index 0000000..a0afe38 --- /dev/null +++ b/include/10.libc/stdlib.h @@ -0,0 +1,15 @@ +#ifndef _STDLIB_H +#define _STDLIB_H +#ifdef __cplusplus +extern "C" { +#endif +void abort(void); +int atexit(void (*)(void)); +int atoi(const char*); +void free(void*); +char* getenv(const char*); +void* malloc(size_t); +#ifdef __cplusplus +} +#endif +#endif -- cgit v1.2.3