diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-07-18 22:25:44 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-09-03 14:07:04 -0400 |
| commit | 8eda325ede02d3fc606a34f7fa3c4922b05a84e4 (patch) | |
| tree | 881da3ba217871a002e6e79bdfc90149cc589e1d /libc/include | |
| parent | 82bcab74e6e0c581dcf4ac4d7997aec5c5e14aae (diff) | |
Remerged the std stuff into the kernel
Diffstat (limited to 'libc/include')
| -rw-r--r-- | libc/include/stdio.h | 18 | ||||
| -rw-r--r-- | libc/include/stdlib.h | 15 | ||||
| -rw-r--r-- | libc/include/string.h | 20 | ||||
| -rw-r--r-- | libc/include/sys/cdefs.h | 6 |
4 files changed, 0 insertions, 59 deletions
diff --git a/libc/include/stdio.h b/libc/include/stdio.h deleted file mode 100644 index eb4e45b..0000000 --- a/libc/include/stdio.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _STDIO_H
-#define _STDIO_H 1
-
-#define EOF (-1)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int printf(const char* __restrict, ...);
-int putchar(int);
-int puts(const char*);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
\ No newline at end of file diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h deleted file mode 100644 index 1d1ee32..0000000 --- a/libc/include/stdlib.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef _STDLIB_H
-#define _STDLIB_H 1
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-__attribute__((__noreturn__))
-void abort(void);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
\ No newline at end of file diff --git a/libc/include/string.h b/libc/include/string.h deleted file mode 100644 index 4f6b5bd..0000000 --- a/libc/include/string.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef _STRING_H
-#define _STRING_H 1
-
-#include <stddef.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int memcmp(const void*, const void*, size_t);
-void* memcpy(void* __restrict, const void* __restrict, size_t);
-void* memmove(void*, const void*, size_t);
-void* memset(void*, int, size_t);
-size_t strlen(const char*);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
\ No newline at end of file diff --git a/libc/include/sys/cdefs.h b/libc/include/sys/cdefs.h deleted file mode 100644 index 1e2c277..0000000 --- a/libc/include/sys/cdefs.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _SYS_CDEFS_H
-#define _SYS_CDEFS_H 1
-
-
-
-#endif
\ No newline at end of file |
