Skip to content

Commit 93dbb12

Browse files
authored
Merge pull request #3989 from thesummer/rtems-add-arc4random
RTEMS export arc4random
2 parents 6626f72 + c096cdb commit 93dbb12

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)