@@ -730,6 +730,7 @@ extern "C" {
730730 ) ]
731731 #[ cfg_attr( target_os = "netbsd" , link_name = "__sigaltstack14" ) ]
732732 pub fn sigaltstack ( ss : * const stack_t , oss : * mut stack_t ) -> c_int ;
733+ #[ cfg_attr( target_os = "netbsd" , link_name = "__sigsuspend14" ) ]
733734 pub fn sigsuspend ( mask : * const crate :: sigset_t ) -> c_int ;
734735 pub fn sem_close ( sem : * mut sem_t ) -> c_int ;
735736 pub fn getdtablesize ( ) -> c_int ;
@@ -804,6 +805,7 @@ extern "C" {
804805 all( target_os = "freebsd" , any( freebsd12, freebsd11, freebsd10) ) ,
805806 link_name = "wait4@FBSD_1.0"
806807 ) ]
808+ #[ cfg_attr( target_os = "netbsd" , link_name = "__wait450" ) ]
807809 pub fn wait4 (
808810 pid : crate :: pid_t ,
809811 status : * mut c_int ,
@@ -814,11 +816,13 @@ extern "C" {
814816 all( target_os = "macos" , target_arch = "x86" ) ,
815817 link_name = "getitimer$UNIX2003"
816818 ) ]
819+ #[ cfg_attr( target_os = "netbsd" , link_name = "__getitimer50" ) ]
817820 pub fn getitimer ( which : c_int , curr_value : * mut crate :: itimerval ) -> c_int ;
818821 #[ cfg_attr(
819822 all( target_os = "macos" , target_arch = "x86" ) ,
820823 link_name = "setitimer$UNIX2003"
821824 ) ]
825+ #[ cfg_attr( target_os = "netbsd" , link_name = "__setitimer50" ) ]
822826 pub fn setitimer (
823827 which : c_int ,
824828 new_value : * const crate :: itimerval ,
@@ -879,6 +883,7 @@ extern "C" {
879883 locale : crate :: locale_t ,
880884 ) -> size_t ;
881885
886+ #[ cfg_attr( target_os = "netbsd" , link_name = "__devname50" ) ]
882887 pub fn devname ( dev : crate :: dev_t , mode_t : crate :: mode_t ) -> * mut c_char ;
883888
884889 pub fn issetugid ( ) -> c_int ;
0 commit comments