libc: Stub out bsearch()

This commit is contained in:
apio 2022-10-30 20:02:03 +01:00
parent 52d4f34f05
commit 7bd1cba1e3
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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");