File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -833,6 +833,11 @@ extern {
833
833
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
834
834
link_name = "nice$UNIX2003" ) ]
835
835
pub fn nice ( incr : :: c_int ) -> :: c_int ;
836
+
837
+ pub fn grantpt ( fd : :: c_int ) -> :: c_int ;
838
+ pub fn posix_openpt ( flags : :: c_int ) -> :: c_int ;
839
+ pub fn ptsname ( fd : :: c_int ) -> * mut :: c_char ;
840
+ pub fn unlockpt ( fd : :: c_int ) -> :: c_int ;
836
841
}
837
842
838
843
cfg_if ! {
Original file line number Diff line number Diff line change @@ -563,6 +563,7 @@ extern {
563
563
pub fn pututxline ( ut : * const utmpx ) -> * mut utmpx ;
564
564
pub fn setutxent ( ) ;
565
565
pub fn endutxent ( ) ;
566
+ pub fn getpt ( ) -> :: c_int ;
566
567
}
567
568
568
569
#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -851,6 +851,9 @@ extern {
851
851
flg : :: c_int ) -> :: c_int ;
852
852
pub fn pthread_mutex_timedlock ( lock : * mut pthread_mutex_t ,
853
853
abstime : * const :: timespec ) -> :: c_int ;
854
+ pub fn ptsname_r ( fd : :: c_int ,
855
+ buf : * mut :: c_char ,
856
+ buflen : :: size_t ) -> :: c_int ;
854
857
}
855
858
856
859
cfg_if ! {
You can’t perform that action at this time.
0 commit comments