Skip to content

Commit 23b69f3

Browse files
authored
Merge pull request #346 from frewsxcv/pg
Add `getpgid`.
2 parents d85f265 + 68dba7a commit 23b69f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

+1
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)