Skip to content

Commit c096cdb

Browse files
committed
RTEMS export arc4random
1 parent 98edf94 commit c096cdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/newlib/rtems/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,7 @@ extern "C" {
139139

140140
pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
141141

142+
pub fn arc4random_buf(buf: *mut core::ffi::c_void, nbytes: ::size_t);
143+
142144
pub fn setgroups(ngroups: ::c_int, grouplist: *const ::gid_t) -> ::c_int;
143145
}

0 commit comments

Comments
 (0)