Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/kqueue.2
Show First 20 Lines • Show All 384 Lines • ▼ Show 20 Lines | |||||
.Dv EVFILT_READ | .Dv EVFILT_READ | ||||
case. | case. | ||||
.Pp | .Pp | ||||
For eventfds, | For eventfds, | ||||
.Va data | .Va data | ||||
will contain the maximum value that can be added to the counter | will contain the maximum value that can be added to the counter | ||||
without blocking. | without blocking. | ||||
.Pp | .Pp | ||||
For BPF devices, the filter always indicates that it is possible to | For BPF devices, when the descriptor is attached to an interface the filter | ||||
write and | always indicates that it is possible to write and | ||||
.Va data | .Va data | ||||
will contain the MTU size of the underlying interface. | will contain the MTU size of the underlying interface. | ||||
.It Dv EVFILT_EMPTY | .It Dv EVFILT_EMPTY | ||||
Takes a descriptor as the identifier, and returns whenever | Takes a descriptor as the identifier, and returns whenever | ||||
there is no remaining data in the write buffer. | there is no remaining data in the write buffer. | ||||
.It Dv EVFILT_AIO | .It Dv EVFILT_AIO | ||||
Events for this filter are not registered with | Events for this filter are not registered with | ||||
.Fn kevent | .Fn kevent | ||||
▲ Show 20 Lines • Show All 458 Lines • Show Last 20 Lines |