diff --git a/src/unix/mod.rs b/src/unix/mod.rs index d2ae4eaeb0578d200cf229949b326ec1f8317840..648a7aa6fe83661a0f247963f4cf3dd01443036f 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -381,6 +381,7 @@ extern { link_name = "getopt$UNIX2003")] pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; + pub fn getpgid(pid: pid_t) -> pid_t; pub fn getpgrp() -> pid_t; pub fn getpid() -> pid_t; pub fn getppid() -> pid_t;