Skip to content

Commit a68d11d

Browse files
committed
redox add explicit_bzero
1 parent 74e81a5 commit a68d11d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc-test/semver/redox.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ epoll_create1
186186
epoll_ctl
187187
epoll_event
188188
epoll_wait
189+
explicit_bzero
189190
fchdir
190191
fmemopen
191192
getline

src/unix/redox/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,9 @@ extern "C" {
10931093
// time.h
10941094
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::timezone) -> ::c_int;
10951095
pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
1096+
1097+
// strings.h
1098+
pub fn explicit_bzero(p: *mut ::c_void, len: ::size_t);
10961099
}
10971100

10981101
cfg_if! {

0 commit comments

Comments
 (0)