Auto merge of #2163 - devnexen:android_upd_getentropy, r=JohnTitor

Add `getentropy` to FreeBSD
This commit is contained in:
bors 2021-05-17 07:42:28 +00:00
commit 708e5284c1

View file

@ -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;
}