| ... | @@ -9812,13 +9812,16 @@ pub const EV = switch (native_os) { | ... | @@ -9812,13 +9812,16 @@ pub const EV = switch (native_os) { |
| 9812 | pub const ONESHOT = 0x0010; | 9812 | pub const ONESHOT = 0x0010; |
| 9813 | /// clear event state after reporting | 9813 | /// clear event state after reporting |
| 9814 | pub const CLEAR = 0x0020; | 9814 | pub const CLEAR = 0x0020; |
| 9815 | /// force immediate event output | 9815 | /// force EV_ERROR on success, data=0 |
| 9816 | /// ... with or without ERROR | | |
| 9817 | /// ... use KEVENT_FLAG_ERROR_EVENTS | | |
| 9818 | /// on syscalls supporting flags | | |
| 9819 | pub const RECEIPT = 0x0040; | 9816 | pub const RECEIPT = 0x0040; |
| 9820 | /// disable event after reporting | 9817 | /// disable event after reporting |
| 9821 | pub const DISPATCH = 0x0080; | 9818 | pub const DISPATCH = 0x0080; |
| | 9819 | /// filter-specific flag |
| | 9820 | pub const FLAG1 = 0x2000; |
| | 9821 | /// error, data contains errno |
| | 9822 | pub const ERROR = 0x4000; |
| | 9823 | /// EOF detected |
| | 9824 | pub const EOF = 0x8000; |
| 9822 | }, | 9825 | }, |
| 9823 | .freebsd => struct { | 9826 | .freebsd => struct { |
| 9824 | /// add event to kq (implies enable) | 9827 | /// add event to kq (implies enable) |