Type EVFILT [src]

Members

Source

pub const EVFILT = switch (native_os) { .macos, .ios, .tvos, .watchos, .visionos => struct { pub const READ = -1; pub const WRITE = -2; /// attached to aio requests pub const AIO = -3; /// attached to vnodes pub const VNODE = -4; /// attached to struct proc pub const PROC = -5; /// attached to struct proc pub const SIGNAL = -6; /// timers pub const TIMER = -7; /// Mach portsets pub const MACHPORT = -8; /// Filesystem events pub const FS = -9; /// User events pub const USER = -10; /// Virtual memory events pub const VM = -12; /// Exception events pub const EXCEPT = -15; pub const SYSCOUNT = 17; }, .haiku => struct { pub const READ = -1; pub const WRITE = -2; /// attached to aio requests pub const AIO = -3; /// attached to vnodes pub const VNODE = -4; /// attached to struct proc pub const PROC = -5; /// attached to struct proc pub const SIGNAL = -6; /// timers pub const TIMER = -7; /// Process descriptors pub const PROCDESC = -8; /// Filesystem events pub const FS = -9; pub const LIO = -10; /// User events pub const USER = -11; /// Sendfile events pub const SENDFILE = -12; pub const EMPTY = -13; }, .dragonfly => struct { pub const FS = -10; pub const USER = -9; pub const EXCEPT = -8; pub const TIMER = -7; pub const SIGNAL = -6; pub const PROC = -5; pub const VNODE = -4; pub const AIO = -3; pub const WRITE = -2; pub const READ = -1; pub const SYSCOUNT = 10; pub const MARKER = 15; }, .netbsd => struct { pub const READ = 0; pub const WRITE = 1; /// attached to aio requests pub const AIO = 2; /// attached to vnodes pub const VNODE = 3; /// attached to struct proc pub const PROC = 4; /// attached to struct proc pub const SIGNAL = 5; /// timers pub const TIMER = 6; /// Filesystem events pub const FS = 7; /// User events pub const USER = 1; }, .freebsd => struct { pub const READ = -1; pub const WRITE = -2; /// attached to aio requests pub const AIO = -3; /// attached to vnodes pub const VNODE = -4; /// attached to struct proc pub const PROC = -5; /// attached to struct proc pub const SIGNAL = -6; /// timers pub const TIMER = -7; /// Process descriptors pub const PROCDESC = -8; /// Filesystem events pub const FS = -9; pub const LIO = -10; /// User events pub const USER = -11; /// Sendfile events pub const SENDFILE = -12; pub const EMPTY = -13; }, .openbsd => struct { pub const READ = -1; pub const WRITE = -2; pub const AIO = -3; pub const VNODE = -4; pub const PROC = -5; pub const SIGNAL = -6; pub const TIMER = -7; pub const EXCEPT = -9; }, else => void, }