Merge pull request #437 from zethra/master
Added tcsetpgrp
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index 3e03eea..0cb3f78 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -425,6 +425,7 @@
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"),