File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1370,3 +1370,6 @@ utimensat
13701370vhangup
13711371vmsplice
13721372waitid
1373+ zx_cprng_add_entropy
1374+ zx_cprng_draw
1375+ zx_status_t
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ pub type rlim_t = ::c_ulonglong;
8989pub type c_long = i64 ;
9090pub type c_ulong = u64 ;
9191
92+ pub type zx_status_t = i32 ;
93+
9294// FIXME: why are these uninhabited types? that seems... wrong?
9395// Presumably these should be `()` or an `extern type` (when that stabilizes).
9496#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
@@ -4228,6 +4230,9 @@ extern "C" {
42284230 > ,
42294231 data : * mut :: c_void ,
42304232 ) -> :: c_int ;
4233+
4234+ pub fn zx_cprng_draw ( buffer : * mut :: c_void , buffer_size : :: size_t ) ;
4235+ pub fn zx_cprng_add_entropy ( buffer : * const :: c_void , buffer_size : :: size_t ) -> :: zx_status_t ;
42314236}
42324237
42334238cfg_if ! {
You can’t perform that action at this time.
0 commit comments