@@ -729,6 +729,7 @@ extern "C" {
729729 ) ]
730730 #[ cfg_attr( target_os = "netbsd" , link_name = "__sigaltstack14" ) ]
731731 pub fn sigaltstack ( ss : * const stack_t , oss : * mut stack_t ) -> c_int ;
732+ #[ cfg_attr( target_os = "netbsd" , link_name = "__sigsuspend14" ) ]
732733 pub fn sigsuspend ( mask : * const crate :: sigset_t ) -> c_int ;
733734 pub fn sem_close ( sem : * mut sem_t ) -> c_int ;
734735 pub fn getdtablesize ( ) -> c_int ;
@@ -803,6 +804,7 @@ extern "C" {
803804 all( target_os = "freebsd" , any( freebsd12, freebsd11, freebsd10) ) ,
804805 link_name = "wait4@FBSD_1.0"
805806 ) ]
807+ #[ cfg_attr( target_os = "netbsd" , link_name = "__wait450" ) ]
806808 pub fn wait4 (
807809 pid : crate :: pid_t ,
808810 status : * mut c_int ,
@@ -813,11 +815,13 @@ extern "C" {
813815 all( target_os = "macos" , target_arch = "x86" ) ,
814816 link_name = "getitimer$UNIX2003"
815817 ) ]
818+ #[ cfg_attr( target_os = "netbsd" , link_name = "__getitimer50" ) ]
816819 pub fn getitimer ( which : c_int , curr_value : * mut crate :: itimerval ) -> c_int ;
817820 #[ cfg_attr(
818821 all( target_os = "macos" , target_arch = "x86" ) ,
819822 link_name = "setitimer$UNIX2003"
820823 ) ]
824+ #[ cfg_attr( target_os = "netbsd" , link_name = "__setitimer50" ) ]
821825 pub fn setitimer (
822826 which : c_int ,
823827 new_value : * const crate :: itimerval ,
@@ -878,6 +882,7 @@ extern "C" {
878882 locale : crate :: locale_t ,
879883 ) -> size_t ;
880884
885+ #[ cfg_attr( target_os = "netbsd" , link_name = "__devname50" ) ]
881886 pub fn devname ( dev : crate :: dev_t , mode_t : crate :: mode_t ) -> * mut c_char ;
882887
883888 pub fn issetugid ( ) -> c_int ;
0 commit comments