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.
1 parent cbad5be commit af80ac4Copy full SHA for af80ac4
libc-test/build.rs
@@ -4834,6 +4834,7 @@ fn test_haiku(target: &str) {
4834
"libutil.h",
4835
"link.h",
4836
"pty.h",
4837
+ "stdlib.h",
4838
"stringlist.h",
4839
"sys/link_elf.h",
4840
}
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