File tree Expand file tree Collapse file tree 6 files changed +53
-0
lines changed
Expand file tree Collapse file tree 6 files changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -1237,6 +1237,8 @@ difftime
12371237dirfd
12381238dl_iterate_phdr
12391239dl_phdr_info
1240+ drand48
1241+ erand48
12401242duplocale
12411243endgrent
12421244endpwent
@@ -1307,6 +1309,7 @@ if_nameindex
13071309ifaddrs
13081310in6_pktinfo
13091311initgroups
1312+ jrand48
13101313kevent
13111314killpg
13121315kinfo_cputime
@@ -1315,9 +1318,11 @@ kqueue
13151318labs
13161319lastlog
13171320lchflags
1321+ lcong48
13181322lio_listio
13191323lockf
13201324login_tty
1325+ lrand48
13211326lutimes
13221327lwp_rtprio
13231328lwpid_t
@@ -1343,12 +1348,14 @@ mq_timedreceive
13431348mq_timedsend
13441349mq_unlink
13451350mqd_t
1351+ mrand48
13461352msghdr
13471353newlocale
13481354nice
13491355nl_item
13501356nl_langinfo
13511357nl_langinfo_l
1358+ nrand48
13521359ntp_adjtime
13531360ntp_gettime
13541361ntptimeval
@@ -1428,6 +1435,7 @@ sched_param
14281435sched_rr_get_interval
14291436sched_setparam
14301437sched_setscheduler
1438+ seed48
14311439seekdir
14321440sem
14331441sem_close
@@ -1469,6 +1477,7 @@ sigwait
14691477sigwaitinfo
14701478sockaddr_dl
14711479srand
1480+ srand48
14721481stack_t
14731482statfs
14741483strcasecmp
Original file line number Diff line number Diff line change @@ -1462,12 +1462,14 @@ difftime
14621462dirfd
14631463dl_iterate_phdr
14641464dl_phdr_info
1465+ drand48
14651466dup3
14661467duplocale
14671468endgrent
14681469endpwent
14691470endservent
14701471endutxent
1472+ erand48
14711473explicit_bzero
14721474extattr_delete_fd
14731475extattr_delete_file
@@ -1568,6 +1570,7 @@ jail_attach
15681570jail_get
15691571jail_remove
15701572jail_set
1573+ jrand48
15711574kevent
15721575key_t
15731576killpg
@@ -1579,9 +1582,11 @@ kld_isloaded
15791582kld_load
15801583labs
15811584lchflags
1585+ lcong48
15821586lio_listio
15831587lockf
15841588login_tty
1589+ lrand48
15851590lutimes
15861591lwpid_t
15871592madvise
@@ -1613,6 +1618,7 @@ mq_timedreceive
16131618mq_timedsend
16141619mq_unlink
16151620mqd_t
1621+ mrand48
16161622msgctl
16171623msgget
16181624msghdr
@@ -1628,6 +1634,7 @@ nl_item
16281634nl_langinfo
16291635nl_langinfo_l
16301636nmount
1637+ nrand48
16311638ntp_adjtime
16321639ntp_gettime
16331640ntptimeval
@@ -1760,6 +1767,7 @@ sched_rr_get_interval
17601767sched_setparam
17611768sched_setscheduler
17621769sdallocx
1770+ seed48
17631771seekdir
17641772sem_close
17651773sem_destroy
@@ -1809,6 +1817,7 @@ sigwaitinfo
18091817sockaddr_dl
18101818sockcred
18111819srand
1820+ srand48
18121821stack_t
18131822statfs
18141823strcasecmp
Original file line number Diff line number Diff line change @@ -1139,11 +1139,13 @@ dirfd
11391139dl_iterate_phdr
11401140dl_phdr_info
11411141dqblk
1142+ drand48
11421143dup3
11431144duplocale
11441145easprintf
11451146efopen
11461147emalloc
1148+ erand48
11471149erealloc
11481150ereallocarr
11491151esetfunc
@@ -1247,6 +1249,7 @@ in_pktinfo
12471249initgroups
12481250ipc_perm
12491251itimerspec
1252+ jrand48
12501253kevent
12511254key_t
12521255killpg
@@ -1258,6 +1261,7 @@ labs
12581261lastlog
12591262lastlogx
12601263lchflags
1264+ lcong48
12611265lgetxattr
12621266lio_listio
12631267listxattr
@@ -1271,6 +1275,7 @@ logoutx
12711275logwtmp
12721276logwtmpx
12731277login_tty
1278+ lrand48
12741279lremovexattr
12751280lsetxattr
12761281lutimes
@@ -1299,11 +1304,13 @@ mq_timedreceive
12991304mq_timedsend
13001305mq_unlink
13011306mqd_t
1307+ mrand48
13021308msghdr
13031309newlocale
13041310nice
13051311nl_item
13061312nl_langinfo
1313+ nrand48
13071314ntp_adjtime
13081315ntp_gettime
13091316ntptimeval
@@ -1394,6 +1401,7 @@ sched_rr_get_interval
13941401sched_setparam
13951402sched_setscheduler
13961403secure_path
1404+ seed48
13971405seekdir
13981406sem
13991407sem_close
@@ -1438,6 +1446,7 @@ snprintb_m
14381446sockaddr_dl
14391447sockcred
14401448srand
1449+ srand48
14411450stack_t
14421451strcasecmp
14431452strcasestr
Original file line number Diff line number Diff line change @@ -937,11 +937,13 @@ difftime
937937dirfd
938938dl_iterate_phdr
939939dl_phdr_info
940+ drand48
940941dup3
941942duplocale
942943endgrent
943944endpwent
944945endservent
946+ erand48
945947execvpe
946948explicit_bzero
947949export_args
@@ -1002,15 +1004,19 @@ initgroups
10021004ip_mreqn
10031005ipc_perm
10041006iso_args
1007+ jrand48
10051008kevent
10061009key_t
10071010killpg
10081011kinfo_vmentry
10091012kqueue
10101013labs
10111014lastlog
1015+ lcong48
1016+ lcong48_deterministic
10121017lockf
10131018login_tty
1019+ lrand48
10141020madvise
10151021malloc_conceal
10161022memmem
@@ -1024,13 +1030,15 @@ mkostemp
10241030mkostemps
10251031mkstemps
10261032mount_info
1033+ mrand48
10271034msdosfs_args
10281035msghdr
10291036newlocale
10301037nfs_args
10311038nice
10321039nl_item
10331040nl_langinfo
1041+ nrand48
10341042ntfs_args
10351043open_memstream
10361044open_wmemstream
@@ -1084,6 +1092,8 @@ regmatch_t
10841092regoff_t
10851093sched_get_priority_max
10861094sched_get_priority_min
1095+ seed48
1096+ seed48_deterministic
10871097seekdir
10881098sem
10891099sem_close
@@ -1121,6 +1131,8 @@ sockaddr_dl
11211131sockpeercred
11221132splice
11231133srand
1134+ srand48
1135+ srand48_deterministic
11241136stack_t
11251137statfs
11261138strcasecmp
Original file line number Diff line number Diff line change @@ -867,6 +867,16 @@ extern "C" {
867867 pub fn arc4random ( ) -> u32 ;
868868 pub fn arc4random_buf ( buf : * mut :: c_void , size : :: size_t ) ;
869869 pub fn arc4random_uniform ( l : u32 ) -> u32 ;
870+
871+ pub fn drand48 ( ) -> :: c_double ;
872+ pub fn erand48 ( xseed : * mut :: c_ushort ) -> :: c_double ;
873+ pub fn lrand48 ( ) -> :: c_long ;
874+ pub fn nrand48 ( xseed : * mut :: c_ushort ) -> :: c_long ;
875+ pub fn mrand48 ( ) -> :: c_long ;
876+ pub fn jrand48 ( xseed : * mut :: c_ushort ) -> :: c_long ;
877+ pub fn srand48 ( seed : :: c_long ) ;
878+ pub fn seed48 ( xseed : * mut :: c_ushort ) -> * mut :: c_ushort ;
879+ pub fn lcong48 ( p : * mut :: c_ushort ) ;
870880}
871881
872882cfg_if ! {
Original file line number Diff line number Diff line change @@ -1633,6 +1633,10 @@ extern "C" {
16331633 pub fn freezero ( ptr : * mut :: c_void , size : :: size_t ) ;
16341634 pub fn malloc_conceal ( size : :: size_t ) -> * mut :: c_void ;
16351635 pub fn calloc_conceal ( nmemb : :: size_t , size : :: size_t ) -> * mut :: c_void ;
1636+
1637+ pub fn srand48_deterministic ( seed : :: c_long ) ;
1638+ pub fn seed48_deterministic ( xseed : * mut :: c_ushort ) -> * mut :: c_ushort ;
1639+ pub fn lcong48_deterministic ( p : * mut :: c_ushort ) ;
16361640}
16371641
16381642#[ link( name = "execinfo" ) ]
You can’t perform that action at this time.
0 commit comments