@@ -518,6 +518,9 @@ extern {
518
518
link_name = "kill$UNIX2003" ) ]
519
519
pub fn kill ( pid : pid_t , sig : :: c_int ) -> :: c_int ;
520
520
521
+ pub fn brk ( addr : * mut :: c_void ) -> :: c_int ;
522
+ pub fn sbrk ( increment : :: intptr_t ) -> * mut :: c_void ;
523
+
521
524
pub fn mlock ( addr : * const :: c_void , len : :: size_t ) -> :: c_int ;
522
525
pub fn munlock ( addr : * const :: c_void , len : :: size_t ) -> :: c_int ;
523
526
pub fn mlockall ( flags : :: c_int ) -> :: c_int ;
@@ -584,6 +587,8 @@ extern {
584
587
#[ cfg_attr( target_os = "netbsd" , link_name = "__gettimeofday50" ) ]
585
588
pub fn gettimeofday ( tp : * mut :: timeval ,
586
589
tz : * mut :: c_void ) -> :: c_int ;
590
+ #[ cfg_attr( target_os = "netbsd" , link_name = "__settimeofday50" ) ]
591
+ pub fn settimeofday ( tv : * const timeval , tz : * const :: timezone ) -> :: c_int ;
587
592
#[ cfg_attr( target_os = "netbsd" , link_name = "__times13" ) ]
588
593
pub fn times ( buf : * mut :: tms ) -> :: clock_t ;
589
594
@@ -745,6 +750,7 @@ extern {
745
750
pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
746
751
pub fn gethostname ( name : * mut :: c_char , len : :: size_t ) -> :: c_int ;
747
752
pub fn chroot ( name : * const :: c_char ) -> :: c_int ;
753
+ pub fn acct ( filename : * const :: c_char ) -> :: c_int ;
748
754
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
749
755
link_name = "usleep$UNIX2003" ) ]
750
756
pub fn usleep ( secs : :: c_uint ) -> :: c_int ;
@@ -817,6 +823,8 @@ extern {
817
823
-> :: c_int ;
818
824
#[ cfg_attr( target_os = "netbsd" , link_name = "__sigpending14" ) ]
819
825
pub fn sigpending ( set : * mut sigset_t ) -> :: c_int ;
826
+ #[ cfg_attr( target_os = "netbsd" , link_name = "__sigsuspend14" ) ]
827
+ pub fn sigsuspend ( mask : * const sigset_t ) -> :: c_int ;
820
828
821
829
#[ cfg_attr( target_os = "netbsd" , link_name = "__timegm50" ) ]
822
830
pub fn timegm ( tm : * mut :: tm ) -> time_t ;
0 commit comments