Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add a `Result` to `getpgid`, and add `getpgrp`. Add a `Result` return type to `getpgid`, as it can fail if there's no process with the given pid. And, add a a `getpgrp` function, which is similar to `getpgid`, but doesn't take a pid argument and always operates on the current process, which means it doesn't need a `Result` return type. * Use `getpgid` on platforms which don't have a `getpgrp` syscall.
- Loading branch information
1 parent
677c8af
commit 7dd900a
Showing
6 changed files
with
89 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters