Skip to content

Commit 68dba7a

Browse files
committed
Add getpgid.
1 parent d85f265 commit 68dba7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ extern {
381381
link_name = "getopt$UNIX2003")]
382382
pub fn getopt(argc: ::c_int, argv: *const *mut c_char,
383383
optstr: *const c_char) -> ::c_int;
384+
pub fn getpgid(pid: pid_t) -> pid_t;
384385
pub fn getpgrp() -> pid_t;
385386
pub fn getpid() -> pid_t;
386387
pub fn getppid() -> pid_t;

0 commit comments

Comments
 (0)