Skip to content

Commit 9c32959

Browse files
thesummertgross35
authored andcommitted
Add getentropy to RTEMS
(backport <rust-lang#3973>) (cherry picked from commit a4ef31b)
1 parent c800e28 commit 9c32959

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
@@ -137,5 +137,7 @@ extern "C" {
137137
clock_id: ::clockid_t,
138138
) -> ::c_int;
139139

140+
pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
141+
140142
pub fn setgroups(ngroups: ::c_int, grouplist: *const ::gid_t) -> ::c_int;
141143
}

0 commit comments

Comments
 (0)