We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6945f7 + 8924123 commit 27e91b6Copy full SHA for 27e91b6
libc-test/build.rs
@@ -4795,6 +4795,7 @@ fn test_haiku(target: &str) {
4795
"libutil.h",
4796
"link.h",
4797
"pty.h",
4798
+ "stdlib.h",
4799
"stringlist.h",
4800
"sys/link_elf.h",
4801
}
src/unix/haiku/mod.rs
@@ -2133,6 +2133,10 @@ extern "C" {
2133
>,
2134
data: *mut ::c_void,
2135
) -> ::c_int;
2136
+
2137
+ pub fn arc4random() -> u32;
2138
+ pub fn arc4random_uniform(upper_bound: u32) -> u32;
2139
+ pub fn arc4random_buf(buf: *mut ::c_void, n: ::size_t);
2140
2141
2142
#[link(name = "gnu")]
0 commit comments