Skip to content

Commit

Permalink
RTEMS export arc4random
Browse files Browse the repository at this point in the history
  • Loading branch information
thesummer committed Oct 17, 2024
1 parent 98edf94 commit c096cdb
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 c096cdb

Please sign in to comment.