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.
2 parents 867de03 + bcb7c48 commit c32ac0dCopy full SHA for c32ac0d
src/lib.rs
@@ -229,6 +229,7 @@ extern {
229
pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char;
230
pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t;
231
pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t;
232
+ pub fn strdup(cs: *const c_char) -> *mut c_char;
233
pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
234
pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
235
pub fn strlen(cs: *const c_char) -> size_t;
0 commit comments