@@ -411,7 +411,7 @@ extern {
411411
412412 pub fn flock ( fd : :: c_int , operation : :: c_int ) -> :: c_int ;
413413
414- #[ cfg_attr( arget_os = "netbsd" , link_name = "__gettimeofday50" ) ]
414+ #[ cfg_attr( target_os = "netbsd" , link_name = "__gettimeofday50" ) ]
415415 pub fn gettimeofday ( tp : * mut :: timeval ,
416416 tz : * mut :: c_void ) -> :: c_int ;
417417
@@ -488,6 +488,7 @@ extern {
488488 link_name = "pthread_sigmask$UNIX2003" ) ]
489489 pub fn pthread_sigmask ( how : :: c_int , set : * const sigset_t ,
490490 oldset : * mut sigset_t ) -> :: c_int ;
491+ pub fn pthread_kill ( thread : :: pthread_t , sig : :: c_int ) -> :: c_int ;
491492
492493 // #[cfg_attr(target_os = "linux", link_name = "__xpg_strerror_r")]
493494 pub fn strerror_r ( errnum : :: c_int , buf : * mut c_char ,
@@ -678,6 +679,9 @@ extern {
678679 pub fn tcflow ( fd : :: c_int , action : :: c_int ) -> :: c_int ;
679680 pub fn tcflush ( fd : :: c_int , action : :: c_int ) -> :: c_int ;
680681 pub fn tcsendbreak ( fd : :: c_int , duration : :: c_int ) -> :: c_int ;
682+ pub fn mkstemp ( template : * mut :: c_char ) -> :: c_int ;
683+ pub fn mkstemps ( template : * mut :: c_char , suffixlen : :: c_int ) -> :: c_int ;
684+ pub fn mkdtemp ( template : * mut :: c_char ) -> * mut :: c_char ;
681685}
682686
683687cfg_if ! {
0 commit comments