libc/wchar: Group mem and str functions - scc - simple c99 compiler | |
git clone git://git.simple-cc.org/scc | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 3f16edee3f63d37bcd7f41aec82daec377faf09f | |
parent e9db6f680a03e9d71d1b4091560599c84448cd39 | |
Author: Roberto E. Vargas Caballero <[email protected]> | |
Date: Fri, 21 Mar 2025 11:21:51 +0100 | |
libc/wchar: Group mem and str functions | |
This separation makes easier to know what functions are implemented and | |
what functions are not implemented. | |
Diffstat: | |
M include/wchar.h | 12 +++++++----- | |
1 file changed, 7 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/include/wchar.h b/include/wchar.h | |
@@ -62,13 +62,17 @@ extern wchar_t *wcsncpy(wchar_t *restrict, const wchar_t *r… | |
extern wchar_t *wmemcpy(wchar_t *restrict, const wchar_t *restrict, size_t); | |
extern wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t); | |
+extern wchar_t *wmemset(wchar_t *, wchar_t, size_t); | |
+extern wchar_t *wmemchr(const wchar_t *, wchar_t, size_t); | |
+extern int wmemcmp(const wchar_t *, const wchar_t *, size_t); | |
+ | |
+extern size_t wcslen(const wchar_t *); | |
+extern int wcscmp(const wchar_t *, const wchar_t *); | |
extern wchar_t *wcscat(wchar_t *restrict, const wchar_t *restrict); | |
extern wchar_t *wcsncat(wchar_t *restrict, const wchar_t *restrict, size_t); | |
-extern int wcscmp(const wchar_t *, const wchar_t *); | |
extern int wcscoll(const wchar_t *, const wchar_t *); | |
extern int wcsncmp(const wchar_t *, const wchar_t *, size_t); | |
extern size_t wcsxfrm(wchar_t *restrict, const wchar_t *restrict, size_t); | |
-extern int wmemcmp(const wchar_t *, const wchar_t *, size_t); | |
extern wchar_t *wcschr(const wchar_t *, wchar_t); | |
extern size_t wcscspn(const wchar_t *, const wchar_t *); | |
extern wchar_t *wcspbrk(const wchar_t *, const wchar_t *); | |
@@ -76,9 +80,7 @@ extern wchar_t *wcsrchr(const wchar_t *, wchar_t); | |
extern size_t wcsspn(const wchar_t *, const wchar_t *); | |
extern wchar_t *wcsstr(const wchar_t *, const wchar_t *); | |
extern wchar_t *wcstok(wchar_t *restrict, const wchar_t *restrict, wchar_t **r… | |
-extern wchar_t *wmemchr(const wchar_t *, wchar_t, size_t); | |
-extern size_t wcslen(const wchar_t *); | |
-extern wchar_t *wmemset(wchar_t *, wchar_t, size_t); | |
+ | |
extern size_t wcsftime(wchar_t *restrict, size_t, const wchar_t *restrict, con… | |
extern wint_t btowc(int); | |
extern int wctob(wint_t); |