From d855c0a219a180497c2e50f9bc19bfce69b937a6 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Thu, 23 Jan 2025 00:24:57 +0000 Subject: it printfs with the efi interface --- api/libc/stdlib.h | 3 +++ api/libc/wchar.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'api/libc') 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 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 size_t wcslen(const wchar_t *s); - +wchar_t *wcsdup(const wchar_t *s); -- cgit v1.3.1-1-g115d