Skip to content

Conversation

kosayoda
Copy link
Contributor

The posix_spawn functions do not use -1 as the sentinel for errors, rather 0 is return on success and every other return value is an error.

Adds a test case to test posix_spawn failure.

What does this PR do

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments

The posix_spawn functions do not use `-1` as the sentinel for errors,
rather `0` is return on success and every other return value is an
error.

Adds a test case to test posix_spawn failure.
@kosayoda
Copy link
Contributor Author

Wrong branch, sorry!

@kosayoda kosayoda closed this Sep 23, 2024
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.

1 participant