Skip to content

Commit

Permalink
Merge pull request #3989 from thesummer/rtems-add-arc4random
Browse files Browse the repository at this point in the history
RTEMS export arc4random
  • Loading branch information
tgross35 authored Oct 24, 2024
2 parents 6626f72 + c096cdb commit 93dbb12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/newlib/rtems/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,7 @@ extern "C" {

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

pub fn arc4random_buf(buf: *mut core::ffi::c_void, nbytes: ::size_t);

pub fn setgroups(ngroups: ::c_int, grouplist: *const ::gid_t) -> ::c_int;
}

0 comments on commit 93dbb12

Please sign in to comment.