Skip to content

Commit a4ef31b

Browse files
committed
Add getentropy to RTEMS
1 parent a31cb99 commit a4ef31b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/newlib/rtems/mod.rs

+2
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)