Invalid items in the change list (or with EV_RECEIPT
set) will cause kevent
to return results with the EV_ERROR
flag set. What other condition results in that flag?
A Google search reveals that EV_RECEIPT
support is related to "disambiguating error conditions;" I wonder when this edge case applies.
Is it safe to assume that errors from the change list will appear first in the event list, before actual events?
What if we only consider filters related to sockets?