Auto merge of #2163 - devnexen:android_upd_getentropy, r=JohnTitor
Add `getentropy` to FreeBSD
This commit is contained in:
commit
708e5284c1
|
@ -231,6 +231,7 @@ extern "C" {
|
|||
pub fn fdatasync(fd: ::c_int) -> ::c_int;
|
||||
|
||||
pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t;
|
||||
pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
|
||||
pub fn elf_aux_info(aux: ::c_int, buf: *mut ::c_void, buflen: ::c_int) -> ::c_int;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue