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.
1 parent 4c07b66 commit 3913f5cCopy full SHA for 3913f5c
src/unix/mod.rs
@@ -525,6 +525,7 @@ extern "C" {
525
pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t;
526
pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t;
527
pub fn strdup(cs: *const c_char) -> *mut c_char;
528
+ pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_char;
529
pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
530
pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
531
pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int;
0 commit comments