Skip to content

Commit 2022265

Browse files
authored
Merge pull request rust-lang#350 from meh/master
Add memset
2 parents e01321c + 5bf1fe4 commit 2022265

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ extern {
245245
pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int;
246246
pub fn memcpy(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void;
247247
pub fn memmove(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void;
248+
pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void;
248249
}
249250

250251
// These are all inline functions on android, so they end up just being entirely

0 commit comments

Comments
 (0)