We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wcsnlen
1 parent 08acabd commit 0af069dCopy full SHA for 0af069d
libc-test/semver/windows.txt
@@ -348,6 +348,7 @@ utimbuf
348
wchar_t
349
wchmod
350
wcslen
351
+wcsnlen
352
wcstombs
353
wexecl
354
wexecle
src/windows/mod.rs
@@ -379,6 +379,7 @@ extern "C" {
379
pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
380
pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
381
pub fn wcslen(buf: *const wchar_t) -> size_t;
382
+ pub fn wcsnlen(str: *const wchar_t, numberOfElements: size_t) -> size_t;
383
pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> size_t;
384
385
pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void;
0 commit comments