File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ fn do_ctest() {
124
124
}
125
125
cfg. header ( "arpa/inet.h" ) ;
126
126
cfg. header ( "xlocale.h" ) ;
127
- cfg. header ( "utmp.h" ) ;
128
127
cfg. header ( "ifaddrs.h" ) ;
129
128
if i686 || x86_64 {
130
129
cfg. header ( "sys/reg.h" ) ;
@@ -208,6 +207,7 @@ fn do_ctest() {
208
207
cfg. header ( "sys/personality.h" ) ;
209
208
cfg. header ( "sys/swap.h" ) ;
210
209
cfg. header ( "pty.h" ) ;
210
+ cfg. header ( "utmp.h" ) ;
211
211
if !uclibc {
212
212
cfg. header ( "sys/sysinfo.h" ) ;
213
213
}
Original file line number Diff line number Diff line change @@ -3168,6 +3168,7 @@ extern {
3168
3168
name : * mut :: c_char ,
3169
3169
termp : * mut termios ,
3170
3170
winp : * mut :: winsize ) -> :: pid_t ;
3171
+ pub fn login_tty ( fd : :: c_int ) -> :: c_int ;
3171
3172
pub fn duplocale ( base : :: locale_t ) -> :: locale_t ;
3172
3173
pub fn freelocale ( loc : :: locale_t ) -> :: c_int ;
3173
3174
pub fn localeconv_l ( loc : :: locale_t ) -> * mut lconv ;
Original file line number Diff line number Diff line change @@ -1299,6 +1299,7 @@ extern {
1299
1299
name : * mut :: c_char ,
1300
1300
termp : * mut termios ,
1301
1301
winp : * mut :: winsize ) -> :: pid_t ;
1302
+ pub fn login_tty ( fd : :: c_int ) -> :: c_int ;
1302
1303
}
1303
1304
1304
1305
cfg_if ! {
Original file line number Diff line number Diff line change @@ -643,6 +643,7 @@ extern {
643
643
name : * mut :: c_char ,
644
644
termp : * mut termios ,
645
645
winp : * mut :: winsize ) -> :: pid_t ;
646
+ pub fn login_tty ( fd : :: c_int ) -> :: c_int ;
646
647
pub fn getpriority ( which : :: c_int , who : :: id_t ) -> :: c_int ;
647
648
pub fn setpriority ( which : :: c_int , who : :: id_t , prio : :: c_int ) -> :: c_int ;
648
649
Original file line number Diff line number Diff line change @@ -1383,6 +1383,11 @@ extern {
1383
1383
name : * mut :: c_char ,
1384
1384
termp : * const termios ,
1385
1385
winp : * const :: winsize ) -> :: c_int ;
1386
+ pub fn forkpty ( amaster : * mut :: c_int ,
1387
+ name : * mut :: c_char ,
1388
+ termp : * const termios ,
1389
+ winp : * const :: winsize ) -> :: pid_t ;
1390
+ pub fn login_tty ( fd : :: c_int ) -> :: c_int ;
1386
1391
pub fn execvpe ( file : * const :: c_char , argv : * const * const :: c_char ,
1387
1392
envp : * const * const :: c_char ) -> :: c_int ;
1388
1393
pub fn fexecve ( fd : :: c_int , argv : * const * const :: c_char ,
@@ -1422,7 +1427,3 @@ cfg_if! {
1422
1427
// Unknown target_os
1423
1428
}
1424
1429
}
1425
- // pub fn forkpty(amaster: *mut ::c_int,
1426
- // name: *mut ::c_char,
1427
- // termp: *const termios,
1428
- // winp: *const ::winsize) -> ::pid_t;
You can’t perform that action at this time.
0 commit comments