Skip to content
Snippets Groups Projects
Commit f4f8986f authored by Danilo Bargen's avatar Danilo Bargen
Browse files

Add ttyname_r

parent caf17a06
No related branches found
No related tags found
No related merge requests found
......@@ -753,6 +753,8 @@ extern {
pub fn tcgetpgrp(fd: ::c_int) -> pid_t;
pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int;
pub fn ttyname(fd: ::c_int) -> *mut c_char;
pub fn ttyname_r(fd: ::c_int,
buf: *mut c_char, buflen: ::size_t) -> ::c_int;
pub fn unlink(c: *const c_char) -> ::c_int;
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
link_name = "wait$UNIX2003")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment