Added POLLSTANDARD and POLLINIGNEOF constants for freebsd-like unix
This commit is contained in:
parent
5b519f6a2e
commit
f37010905d
|
@ -160,6 +160,8 @@ pub const POSIX_FADV_WILLNEED: ::c_int = 3;
|
|||
pub const POSIX_FADV_DONTNEED: ::c_int = 4;
|
||||
pub const POSIX_FADV_NOREUSE: ::c_int = 5;
|
||||
|
||||
pub const POLLINIGNEOF: ::c_short = 0x2000;
|
||||
|
||||
pub const EVFILT_READ: ::int16_t = -1;
|
||||
pub const EVFILT_WRITE: ::int16_t = -2;
|
||||
pub const EVFILT_AIO: ::int16_t = -3;
|
||||
|
|
|
@ -439,6 +439,8 @@ pub const EMULTIHOP: ::c_int = 90;
|
|||
pub const ENOLINK: ::c_int = 91;
|
||||
pub const EPROTO: ::c_int = 92;
|
||||
|
||||
pub const POLLSTANDARD: ::c_short = ::POLLIN | ::POLLPRI | ::POLLOUT | ::POLLRDNORM | ::POLLRDBAND | ::POLLWRBAND | ::POLLERR | ::POLLHUP | ::POLLNVAL;
|
||||
|
||||
pub const EAI_SYSTEM: ::c_int = 11;
|
||||
|
||||
pub const F_DUPFD: ::c_int = 0;
|
||||
|
|
Loading…
Reference in New Issue