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 caf17a0 commit f4f8986Copy full SHA for f4f8986
src/unix/mod.rs
@@ -753,6 +753,8 @@ extern {
753
pub fn tcgetpgrp(fd: ::c_int) -> pid_t;
754
pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int;
755
pub fn ttyname(fd: ::c_int) -> *mut c_char;
756
+ pub fn ttyname_r(fd: ::c_int,
757
+ buf: *mut c_char, buflen: ::size_t) -> ::c_int;
758
pub fn unlink(c: *const c_char) -> ::c_int;
759
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
760
link_name = "wait$UNIX2003")]
0 commit comments