The flags in PollEvents are the same as FreeBSD, this can be deduced through inspecting poll_no_poll. I also think PollFd makes more sense to have in filedesc, because that's where pollscan will be in the future alongside other functions related to polling.
The flags in PollEvents are the same as FreeBSD, this can be deduced through inspecting poll_no_poll. I also think PollFd makes more sense to have in filedesc, because that's where pollscan will be in the future alongside other functions related to polling.