summaryrefslogtreecommitdiff
path: root/api/libc
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2025-01-23 00:24:57 +0000
committerAda Christine <adachristine18@gmail.com>2025-01-23 00:24:57 +0000
commitd855c0a219a180497c2e50f9bc19bfce69b937a6 (patch)
tree1ff8523d41b222fb356fb3404d2a53c26a7d6a3d /api/libc
parentedd52bd1464ee9ae4f0cdf7ff90a20ca175580fe (diff)
it printfs with the efi interface
Diffstat (limited to 'api/libc')
-rw-r--r--api/libc/stdlib.h3
-rw-r--r--api/libc/wchar.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/api/libc/stdlib.h b/api/libc/stdlib.h
index 76a78eb..d1f3d3b 100644
--- a/api/libc/stdlib.h
+++ b/api/libc/stdlib.h
@@ -3,4 +3,7 @@
#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/wchar.h b/api/libc/wchar.h
index 4dd339d..350c209 100644
--- a/api/libc/wchar.h
+++ b/api/libc/wchar.h
@@ -3,4 +3,4 @@
#include <stddef.h>
size_t wcslen(const wchar_t *s);
-
+wchar_t *wcsdup(const wchar_t *s);