We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea1e561 + a34a1ce commit b5e3a8aCopy full SHA for b5e3a8a
src/unix/linux_like/android/mod.rs
@@ -3534,7 +3534,9 @@ extern "C" {
3534
3535
pub fn gettid() -> ::pid_t;
3536
3537
+ /// Only available in API Version 28+
3538
pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t;
3539
+ pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
3540
3541
pub fn pthread_setname_np(thread: ::pthread_t, name: *const ::c_char) -> ::c_int;
3542
0 commit comments