Zig 0.17.0-dev (Split by item)
This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig library itself.
Zig › std/ › os/ › linux.zig › EPOLL
EPOLL
linux.EPOLL
pub const EPOLL = struct
File
Code
pub const EPOLL = struct {
pub const CLOEXEC = 1 << @bitOffsetOf (O , "CLOEXEC" );
pub const CTL_ADD = 1 ;
pub const CTL_DEL = 2 ;
pub const CTL_MOD = 3 ;
pub const IN = 0x001 ;
pub const PRI = 0x002 ;
pub const OUT = 0x004 ;
pub const RDNORM = 0x040 ;
pub const RDBAND = 0x080 ;
pub const WRNORM = if (is_mips ) 0x004 else 0x100 ;
pub const WRBAND = if (is_mips ) 0x100 else 0x200 ;
pub const MSG = 0x400 ;
pub const ERR = 0x008 ;
pub const HUP = 0x010 ;
pub const RDHUP = 0x2000 ;
pub const EXCLUSIVE = (@as (u32 , 1 ) << 28 );
pub const WAKEUP = (@as (u32 , 1 ) << 29 );
pub const ONESHOT = (@as (u32 , 1 ) << 30 );
pub const ET = (@as (u32 , 1 ) << 31 );
}