We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0348155 commit 83ccc7bCopy full SHA for 83ccc7b
src/unix/notbsd/mod.rs
@@ -1383,6 +1383,10 @@ extern {
1383
name: *mut ::c_char,
1384
termp: *const termios,
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;
1391
pub fn execvpe(file: *const ::c_char, argv: *const *const ::c_char,
1392
envp: *const *const ::c_char) -> ::c_int;
@@ -1423,7 +1427,3 @@ cfg_if! {
1423
1427
// Unknown target_os
1424
1428
}
1425
1429
1426
- // pub fn forkpty(amaster: *mut ::c_int,
- // name: *mut ::c_char,
- // termp: *const termios,
- // winp: *const ::winsize) -> ::pid_t;
0 commit comments