Skip to content

Commit

Permalink
Merge pull request rust-lang#350 from meh/master
Browse files Browse the repository at this point in the history
Add memset
  • Loading branch information
alexcrichton authored Aug 7, 2016
2 parents e01321c + 5bf1fe4 commit 2022265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ extern {
pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int;
pub fn memcpy(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void;
pub fn memmove(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void;
pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void;
}

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

0 comments on commit 2022265

Please sign in to comment.