diff options
| author | Ada Christine <adachristine18@gmail.com> | 2026-05-26 21:32:27 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2026-05-26 21:32:27 +0000 |
| commit | a10aabfcd52f702057316018cd7847ab2bfe4aa1 (patch) | |
| tree | cc4652d2b602798934e8a48b4939cfb20eda1989 /api/libc | |
| parent | 90c29fdde317c39384011a6ba97077c138f13ad6 (diff) | |
we're bringing kjarna back and not doing the crazy stuff with trying to have task management during efi. that was a bit extra.kjarna
Diffstat (limited to 'api/libc')
| -rw-r--r-- | api/libc/stdio.h | 20 | ||||
| -rw-r--r-- | api/libc/stdlib.h | 9 | ||||
| -rw-r--r-- | api/libc/string.h | 12 | ||||
| -rw-r--r-- | api/libc/wchar.h | 6 |
4 files changed, 0 insertions, 47 deletions
diff --git a/api/libc/stdio.h b/api/libc/stdio.h deleted file mode 100644 index 63d1ad8..0000000 --- a/api/libc/stdio.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -#include <libc/string.h> - -#include <stdarg.h> - -typedef struct FILE FILE; - -extern FILE *stdin; -extern FILE *stdout; -extern FILE *stderr; - -int fputc(int c, FILE *f); -int fputs(const char *str, FILE *f); - -int vfprintf(FILE *f, const char *restrict format, va_list arguments); -int fprintf(FILE *f, const char *restrict format, ...); -int vprintf(const char *restrict format, va_list arguments); -int printf(const char *restrict format, ...); - diff --git a/api/libc/stdlib.h b/api/libc/stdlib.h deleted file mode 100644 index d1f3d3b..0000000 --- a/api/libc/stdlib.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#include <stddef.h> - -size_t mbstowcs(wchar_t *dst, const char *src, size_t length); -void *malloc(size_t size); -void *calloc(size_t count, size_t size); -void free(void *block); - diff --git a/api/libc/string.h b/api/libc/string.h deleted file mode 100644 index 849275d..0000000 --- a/api/libc/string.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include <stddef.h> - -void *memcpy(void *dest, const void *src, size_t size); -void *memmove(void *dest, const void *src, size_t size); -void *memset(void *dest, int val, size_t size); -int memcmp(const void *str1, const void *str2, size_t count); -size_t strlen(const char *s); -int strcmp(const char *s1, const char *s2); -unsigned long long strtoull(const char *restrict begin, char **restrict end, int base); - diff --git a/api/libc/wchar.h b/api/libc/wchar.h deleted file mode 100644 index 350c209..0000000 --- a/api/libc/wchar.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -#include <stddef.h> - -size_t wcslen(const wchar_t *s); -wchar_t *wcsdup(const wchar_t *s); |
