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

poll does not set errno, when it returns 0 #58

Merged
merged 1 commit into from
Jul 11, 2019
Merged

poll does not set errno, when it returns 0 #58

merged 1 commit into from
Jul 11, 2019

Conversation

mheranco
Copy link
Contributor

Poll only sets errno, if return value is -1.

@embeddedt embeddedt merged commit 73834b7 into lvgl:master Jul 11, 2019
@embeddedt
Copy link
Member

Thanks!

A second option would be to set errno = 0 before calling poll, however, I think that could result in a stream of unwanted "Success" messages.

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.

2 participants