From 68dba7ab5abeaa28e53cba396246288bbc0fd7af Mon Sep 17 00:00:00 2001
From: Corey Farwell <coreyf@rwell.org>
Date: Wed, 3 Aug 2016 08:21:45 -0400
Subject: [PATCH] Add `getpgid`.

---
 src/unix/mod.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index d2ae4eae..648a7aa6 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;
-- 
GitLab