commit 16144a7a37c2b2059d8a2fcfc70d6cf0ab49ab00 (tree)
parent 85cc3f24a0c1ee9957d0264bd7532441090cbd6c
Author: Alexandros Naskos <alex_naskos@hotmail.com>
Date: Thu, 17 Dec 2020 22:58:05 +0200
Add EV_ERROR to FreeBSD bits
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/std/os/bits/freebsd.zig b/lib/std/os/bits/freebsd.zig
@@ -553,6 +553,9 @@ pub const EV_ONESHOT = 0x0010;
/// clear event state after reporting
pub const EV_CLEAR = 0x0020;
+/// error, event data contains errno
+pub const EV_ERROR = 0x4000;
+
/// force immediate event output
/// ... with or without EV_ERROR
/// ... use KEVENT_FLAG_ERROR_EVENTS