From c21a30c787458300beade793df0daf434416bf04 Mon Sep 17 00:00:00 2001 From: zethra Date: Thu, 27 Oct 2016 16:01:18 -0400 Subject: [PATCH] Added tcsetpgrp --- src/unix/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/mod.rs b/src/unix/mod.rs index 3e03eea6..0cb3f78d 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"),