Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use revents in struct pollfd to check the result of poll()
`events` in struct pollfd is the input argument, while `revents` is for output and should be checked for the result of poll(). Reviewed-by: [email protected] Reviewed-by: [email protected]
- Loading branch information