File tree 6 files changed +6
-10
lines changed 6 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -808,6 +808,9 @@ pub const TIOCM_DSR: ::c_int = 0x100;
808
808
pub const TIOCM_CD : :: c_int = TIOCM_CAR ;
809
809
pub const TIOCM_RI : :: c_int = TIOCM_RNG ;
810
810
811
+ pub const POLLWRNORM : :: c_short = 0x100 ;
812
+ pub const POLLWRBAND : :: c_short = 0x200 ;
813
+
811
814
f ! {
812
815
pub fn CPU_ZERO ( cpuset: & mut cpu_set_t) -> ( ) {
813
816
for slot in cpuset. __bits. iter_mut( ) {
Original file line number Diff line number Diff line change @@ -381,9 +381,7 @@ pub const SIG_SETMASK: ::c_int = 3;
381
381
pub const SIG_BLOCK : :: c_int = 0x1 ;
382
382
pub const SIG_UNBLOCK : :: c_int = 0x2 ;
383
383
384
- pub const POLLRDNORM : :: c_short = 0x040 ;
385
384
pub const POLLWRNORM : :: c_short = 0x004 ;
386
- pub const POLLRDBAND : :: c_short = 0x080 ;
387
385
pub const POLLWRBAND : :: c_short = 0x100 ;
388
386
389
387
pub const PTHREAD_STACK_MIN : :: size_t = 131072 ;
Original file line number Diff line number Diff line change @@ -203,9 +203,6 @@ pub const MADV_DONTDUMP: ::c_int = 16;
203
203
204
204
pub const EPOLLWAKEUP : :: c_int = 0x20000000 ;
205
205
206
- pub const POLLRDNORM : :: c_short = 0x040 ;
207
- pub const POLLRDBAND : :: c_short = 0x080 ;
208
-
209
206
pub const MADV_HUGEPAGE : :: c_int = 14 ;
210
207
pub const MADV_NOHUGEPAGE : :: c_int = 15 ;
211
208
Original file line number Diff line number Diff line change @@ -269,9 +269,6 @@ pub const SIGWINCH: ::c_int = 28;
269
269
270
270
pub const SIGEV_THREAD_ID : :: c_int = 4 ;
271
271
272
- pub const POLLRDNORM : :: c_short = 0x040 ;
273
- pub const POLLRDBAND : :: c_short = 0x080 ;
274
-
275
272
pub const FALLOC_FL_KEEP_SIZE : :: c_int = 0x01 ;
276
273
pub const FALLOC_FL_PUNCH_HOLE : :: c_int = 0x02 ;
277
274
Original file line number Diff line number Diff line change @@ -846,9 +846,7 @@ pub const B3000000: ::speed_t = 0o010015;
846
846
pub const B3500000 : :: speed_t = 0o010016 ;
847
847
pub const B4000000 : :: speed_t = 0o010017 ;
848
848
849
- pub const POLLRDNORM : :: c_short = 0x040 ;
850
849
pub const POLLWRNORM : :: c_short = 0x004 ;
851
- pub const POLLRDBAND : :: c_short = 0x080 ;
852
850
pub const POLLWRBAND : :: c_short = 0x100 ;
853
851
854
852
#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -761,6 +761,9 @@ pub const P_PGID: idtype_t = 2;
761
761
pub const UTIME_OMIT : c_long = 1073741822 ;
762
762
pub const UTIME_NOW : c_long = 1073741823 ;
763
763
764
+ pub const POLLRDNORM : :: c_short = 0x040 ;
765
+ pub const POLLRDBAND : :: c_short = 0x080 ;
766
+
764
767
f ! {
765
768
pub fn FD_CLR ( fd: :: c_int, set: * mut fd_set) -> ( ) {
766
769
let fd = fd as usize ;
You can’t perform that action at this time.
0 commit comments