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 d19da49 + fb2a763 commit a7c13b9Copy full SHA for a7c13b9
src/unix/haiku/mod.rs
@@ -2035,6 +2035,16 @@ extern "C" {
2035
pub fn setprogname(progname: *const ::c_char);
2036
}
2037
2038
+#[link(name = "unix")]
2039
+extern "C" {
2040
+ pub fn memmem(
2041
+ source: *const ::c_void,
2042
+ sourceLength: ::size_t,
2043
+ search: *const ::c_void,
2044
+ searchLength: ::size_t,
2045
+ ) -> *mut ::c_void;
2046
+}
2047
+
2048
cfg_if! {
2049
if #[cfg(target_pointer_width = "64")] {
2050
mod b64;
0 commit comments