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 1ee0549 + f8e4746 commit b45291bCopy full SHA for b45291b
src/unix/nuttx/mod.rs
@@ -591,4 +591,6 @@ extern "C" {
591
pub fn pthread_setname_np(thread: pthread_t, name: *const c_char) -> i32;
592
pub fn pthread_getname_np(thread: pthread_t, name: *mut c_char, len: usize) -> i32;
593
pub fn getrandom(buf: *mut c_void, buflen: usize, flags: u32) -> isize;
594
+ pub fn arc4random() -> u32;
595
+ pub fn arc4random_buf(bytes: *mut c_void, nbytes: usize);
596
}
0 commit comments