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 f608f06 commit b9f5c46Copy full SHA for b9f5c46
src/unix/mod.rs
@@ -833,6 +833,15 @@ extern {
833
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
834
link_name = "nice$UNIX2003")]
835
pub fn nice(incr: ::c_int) -> ::c_int;
836
+
837
+ pub fn getpt() -> ::c_int;
838
+ pub fn grantpt(fd: ::c_int) -> ::c_int;
839
+ pub fn posix_openpt(flags: ::c_int) -> ::c_int;
840
+ pub fn ptsname(fd: ::c_int) -> *mut ::c_char;
841
+ pub fn ptsname_r(fd: ::c_int,
842
+ buf: *mut ::c_char,
843
+ buflen: ::size_t) -> ::c_int;
844
+ pub fn unlockpt(fd: ::c_int) -> ::c_int;
845
}
846
847
cfg_if! {
0 commit comments