diff options
Diffstat (limited to 'src/unix/bsd/netbsdlike/openbsd/mod.rs')
-rw-r--r-- | src/unix/bsd/netbsdlike/openbsd/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index f3e7279f6d..8e1bfcb578 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -1478,6 +1478,12 @@ extern "C" { addr: caddr_t, data: ::c_int, ) -> ::c_int; + pub fn memmem( + haystack: *const ::c_void, + haystacklen: ::size_t, + needle: *const ::c_void, + needlelen: ::size_t, + ) -> *mut ::c_void; } cfg_if! { |