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

Review errno usage in complete codebase #7845

Open
omoerbeek opened this issue May 24, 2019 · 0 comments

Comments

@omoerbeek
Copy link
Member

commented May 24, 2019

There are a few exceptions (e.g. if you want to save errno to restore it later), but the general rules are:

  • Reads of errno should only be done immediately after a failed syscall or a lib function documented to set errno.
  • Assignment to errno should not be done.
@omoerbeek omoerbeek self-assigned this Jun 17, 2019
@omoerbeek omoerbeek referenced this issue Jul 16, 2019
3 of 7 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.