diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-12-19 20:51:30 +0330 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-12-21 21:24:36 +0330 |
commit | 3b281baf75b2b61028f54aa46fd4c8b62c5c0fec (patch) | |
tree | fbb19a51b878ea05d6ae4eed0f5dd635e819688c /Userland/Libraries/LibC/wchar.h | |
parent | 4f8d095f5ac93d6b1fef54649eae1db2d11b4f65 (diff) | |
download | serenity-3b281baf75b2b61028f54aa46fd4c8b62c5c0fec.zip |
LibC: Implement wcs{,c}spn()
Diffstat (limited to 'Userland/Libraries/LibC/wchar.h')
-rw-r--r-- | Userland/Libraries/LibC/wchar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/wchar.h b/Userland/Libraries/LibC/wchar.h index 98423e9b30..3a0adce1e6 100644 --- a/Userland/Libraries/LibC/wchar.h +++ b/Userland/Libraries/LibC/wchar.h @@ -66,5 +66,7 @@ size_t mbsrtowcs(wchar_t*, const char**, size_t, mbstate_t*); int wmemcmp(const wchar_t*, const wchar_t*, size_t); size_t wcsnrtombs(char*, const wchar_t**, size_t, size_t, mbstate_t*); size_t mbsnrtowcs(wchar_t*, const char**, size_t, size_t, mbstate_t*); +size_t wcscspn(const wchar_t* wcs, const wchar_t* reject); +size_t wcsspn(const wchar_t* wcs, const wchar_t* accept); __END_DECLS |