diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 3e03eea675232..0cb3f78dd2106 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -425,6 +425,7 @@ extern { pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> ::c_int; 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 unlink(c: *const c_char) -> ::c_int; #[cfg_attr(all(target_os = "macos", target_arch = "x86"),