mirror of
https://github.com/openharmony/third_party_rust_libc.git
synced 2026-07-21 02:15:44 -04:00
Add rand48 functions
This commit is contained in:
committed by
Yuki Okushi
parent
b1982c45c5
commit
3bf74363fe
@@ -2872,6 +2872,7 @@ dirfd
|
||||
dl_iterate_phdr
|
||||
dl_phdr_info
|
||||
dqblk
|
||||
drand48
|
||||
dup3
|
||||
duplocale
|
||||
endgrent
|
||||
@@ -2885,6 +2886,7 @@ epoll_ctl
|
||||
epoll_event
|
||||
epoll_pwait
|
||||
epoll_wait
|
||||
erand48
|
||||
eventfd
|
||||
execvpe
|
||||
faccessat
|
||||
@@ -2991,15 +2993,18 @@ ip_mreq_source
|
||||
ipc_perm
|
||||
itimerspec
|
||||
j1939_filter
|
||||
jrand48
|
||||
key_t
|
||||
killpg
|
||||
labs
|
||||
lcong48
|
||||
lgetxattr
|
||||
listxattr
|
||||
llistxattr
|
||||
lockf
|
||||
loff_t
|
||||
login_tty
|
||||
lrand48
|
||||
lremovexattr
|
||||
lseek64
|
||||
lsetxattr
|
||||
@@ -3034,6 +3039,7 @@ mq_timedreceive
|
||||
mq_timedsend
|
||||
mq_unlink
|
||||
mqd_t
|
||||
mrand48
|
||||
mremap
|
||||
msgctl
|
||||
msgget
|
||||
@@ -3053,6 +3059,7 @@ nl_langinfo_l
|
||||
nlattr
|
||||
nlmsgerr
|
||||
nlmsghdr
|
||||
nrand48
|
||||
off64_t
|
||||
open64
|
||||
open_how
|
||||
@@ -3171,6 +3178,7 @@ sched_setaffinity
|
||||
sched_setparam
|
||||
sched_setscheduler
|
||||
seccomp_data
|
||||
seed48
|
||||
seekdir
|
||||
sem_close
|
||||
sem_destroy
|
||||
@@ -3231,6 +3239,7 @@ sockaddr_vm
|
||||
splice
|
||||
spwd
|
||||
srand
|
||||
srand48
|
||||
stack_t
|
||||
stat64
|
||||
statfs
|
||||
|
||||
@@ -3710,6 +3710,16 @@ extern "C" {
|
||||
pub fn rand() -> ::c_int;
|
||||
pub fn srand(seed: ::c_uint);
|
||||
|
||||
pub fn drand48() -> ::c_double;
|
||||
pub fn erand48(xseed: *mut ::c_ushort) -> ::c_double;
|
||||
pub fn lrand48() -> ::c_long;
|
||||
pub fn nrand48(xseed: *mut ::c_ushort) -> ::c_long;
|
||||
pub fn mrand48() -> ::c_long;
|
||||
pub fn jrand48(xseed: *mut ::c_ushort) -> ::c_long;
|
||||
pub fn srand48(seed: ::c_long);
|
||||
pub fn seed48(xseed: *mut ::c_ushort) -> *mut ::c_ushort;
|
||||
pub fn lcong48(p: *mut ::c_ushort);
|
||||
|
||||
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
|
||||
|
||||
pub fn setpwent();
|
||||
|
||||
Reference in New Issue
Block a user