diff --git a/libs/libc/include/stdlib.h b/libs/libc/include/stdlib.h index 6a04991f..fb7f52cf 100644 --- a/libs/libc/include/stdlib.h +++ b/libs/libc/include/stdlib.h @@ -112,6 +112,8 @@ extern "C" void qsort(void*, size_t, size_t, int (*)(const void*, const void*)); // Not implemented. + void* bsearch(const void*, const void*, size_t, size_t, int (*)(const void*, const void*)); // Not implemented. + size_t mbstowcs(wchar_t* dest, const char* src, size_t n); // Not implemented. diff --git a/libs/libc/src/stdlib.cpp b/libs/libc/src/stdlib.cpp index 026c3fc3..192f8bb9 100644 --- a/libs/libc/src/stdlib.cpp +++ b/libs/libc/src/stdlib.cpp @@ -139,6 +139,11 @@ extern "C" NOT_IMPLEMENTED("qsort"); } + void* bsearch(const void*, const void*, size_t, size_t, int (*)(const void*, const void*)) + { + NOT_IMPLEMENTED("bsearch"); + } + size_t mbstowcs(wchar_t*, const char*, size_t) { NOT_IMPLEMENTED("mbstowcs");