Skip to content

Commit 71f74cd

Browse files
devnexentgross35
authored andcommitted
1 parent c025f57 commit 71f74cd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

libc-test/semver/solarish.txt

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ IP_PKTINFO
77
IP_TOS
88
IP_TTL
99
PIPE_BUF
10+
arc4random
11+
arc4random_buf
12+
arc4random_uniform
1013
bind
1114
in6_pktinfo
1215
in_pktinfo

src/unix/solarish/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -3038,6 +3038,10 @@ extern "C" {
30383038
pub fn __major(version: ::c_int, devnum: ::dev_t) -> ::major_t;
30393039
pub fn __minor(version: ::c_int, devnum: ::dev_t) -> ::minor_t;
30403040
pub fn __makedev(version: ::c_int, majdev: ::major_t, mindev: ::minor_t) -> ::dev_t;
3041+
3042+
pub fn arc4random() -> u32;
3043+
pub fn arc4random_buf(buf: *mut ::c_void, nbytes: ::size_t);
3044+
pub fn arc4random_uniform(upper_bound: u32) -> u32;
30413045
}
30423046

30433047
#[link(name = "sendfile")]

0 commit comments

Comments
 (0)