Skip to content

Commit

Permalink
Add getentropy to RTEMS
Browse files Browse the repository at this point in the history
(backport <#3973>)
(cherry picked from commit a4ef31b)
thesummer authored and tgross35 committed Oct 16, 2024
1 parent c800e28 commit 9c32959
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
@@ -137,5 +137,7 @@ extern "C" {
clock_id: ::clockid_t,
) -> ::c_int;

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

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

0 comments on commit 9c32959

Please sign in to comment.