mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibC: Stub wcstoimax and wcstoumax
This commit is contained in:
1 parent
a591ec9417
commit
d4288b4c7f
2 files changed
+17
No files matched your search
@@ -4,6 +4,8 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/Assertions.h>
|
||||
#include <AK/Format.h>
|
||||
#include <AK/NumericLimits.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
@@ -59,4 +61,16 @@ uintmax_t strtoumax(char const* str, char** endptr, int base)
|
||||
|
||||
return ulong_value;
|
||||
}
|
||||
|
||||
intmax_t wcstoimax(wchar_t const*, wchar_t**, int)
|
||||
{
|
||||
dbgln("FIXME: Implement wcstoimax()");
|
||||
TODO();
|
||||
}
|
||||
|
||||
uintmax_t wcstoumax(wchar_t const*, wchar_t**, int)
|
||||
{
|
||||
dbgln("FIXME: Implement wcstoumax()");
|
||||
TODO();
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <bits/stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
@@ -201,5 +202,7 @@ imaxdiv_t imaxdiv(intmax_t, intmax_t);
|
||||
|
||||
intmax_t strtoimax(char const*, char** endptr, int base);
|
||||
uintmax_t strtoumax(char const*, char** endptr, int base);
|
||||
intmax_t wcstoimax(wchar_t const*, wchar_t**, int);
|
||||
uintmax_t wcstoumax(wchar_t const*, wchar_t**, int);
|
||||
|
||||
__END_DECLS
|
||||
Reference in new issue
Block a user