File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,8 @@ pub const POSIX_FADV_WILLNEED: ::c_int = 3;
160
160
pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
161
161
pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
162
162
163
+ pub const POLLINIGNEOF : :: c_short = 0x2000 ;
164
+
163
165
pub const EVFILT_READ : :: int16_t = -1 ;
164
166
pub const EVFILT_WRITE : :: int16_t = -2 ;
165
167
pub const EVFILT_AIO : :: int16_t = -3 ;
Original file line number Diff line number Diff line change @@ -439,6 +439,10 @@ pub const EMULTIHOP: ::c_int = 90;
439
439
pub const ENOLINK : :: c_int = 91 ;
440
440
pub const EPROTO : :: c_int = 92 ;
441
441
442
+ pub const POLLSTANDARD : :: c_short = :: POLLIN | :: POLLPRI | :: POLLOUT |
443
+ :: POLLRDNORM | :: POLLRDBAND | :: POLLWRBAND | :: POLLERR |
444
+ :: POLLHUP | :: POLLNVAL ;
445
+
442
446
pub const EAI_SYSTEM : :: c_int = 11 ;
443
447
444
448
pub const F_DUPFD : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -191,6 +191,8 @@ pub const MS_INVALIDATE : ::c_int = 0x0004;
191
191
192
192
pub const PTHREAD_STACK_MIN : :: size_t = 2048 ;
193
193
194
+ pub const POLLNORM : :: c_short = :: POLLRDNORM ;
195
+
194
196
pub const ENOATTR : :: c_int = 83 ;
195
197
pub const EILSEQ : :: c_int = 84 ;
196
198
pub const EOVERFLOW : :: c_int = 87 ;
You can’t perform that action at this time.
0 commit comments