Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Result to getpgid, and add getpgrp. #386

Merged
merged 3 commits into from Jul 26, 2022
Merged

Conversation

sunfishcode
Copy link
Member

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.

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.
@sunfishcode sunfishcode merged commit 7dd900a into main Jul 26, 2022
@sunfishcode sunfishcode deleted the sunfishcode/getpgid branch July 26, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant