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 ef7c089 commit 2cc4925Copy full SHA for 2cc4925
src/zephyr/mod.rs
@@ -54,3 +54,15 @@ cfg_if! {
54
}
55
56
57
+
58
+extern {
59
+ pub fn strlen(cs: *const c_char) -> size_t;
60
61
+ pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void;
62
+ pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int;
63
+ pub fn memcpy(dest: *mut c_void, src: *const c_void,
64
+ n: size_t) -> *mut c_void;
65
+ pub fn memmove(dest: *mut c_void, src: *const c_void,
66
67
+ pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void;
68
+}
0 commit comments