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 6de9e63 commit ee8a490Copy full SHA for ee8a490
src/unix/haiku/mod.rs
@@ -860,6 +860,7 @@ f! {
860
}
861
862
863
+#[link(name = "bsd")]
864
extern {
865
pub fn clock_gettime(clk_id: ::c_int, tp: *mut ::timespec) -> ::c_int;
866
pub fn clock_settime(clk_id: ::c_int, tp: *const ::timespec) -> ::c_int;
@@ -995,6 +996,15 @@ extern {
995
996
link_name = "popen$UNIX2003")]
997
pub fn popen(command: *const c_char,
998
mode: *const c_char) -> *mut ::FILE;
999
+ pub fn openpty(amaster: *mut ::c_int,
1000
+ aslave: *mut ::c_int,
1001
+ name: *mut ::c_char,
1002
+ termp: *mut termios,
1003
+ winp: *mut ::winsize) -> ::c_int;
1004
+ pub fn forkpty(amaster: *mut ::c_int,
1005
1006
1007
+ winp: *mut ::winsize) -> ::pid_t;
1008
1009
1010
cfg_if! {
0 commit comments