]> granicus.if.org Git - strace/commitdiff
xlat: provide fallback definitions for arch-independent poll event flags
authorEugene Syromyatnikov <evgsyr@gmail.com>
Thu, 15 Feb 2018 18:08:14 +0000 (19:08 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 27 Feb 2018 13:14:38 +0000 (13:14 +0000)
* xlat/pollflags.in (POLLIN, POLLPRI, POLLOUT, POLLRDNORM, POLLRDBAND,
POLLERR, POLLHUP, POLLNVAL, POLL_BUSY_LOOP): Add constant values.

xlat/pollflags.in

index 61d4f061ef3e91390be33ab2f9c75331b0614a6c..3140011288893a9619ccfae2bf7276cf5295af62 100644 (file)
@@ -1,14 +1,14 @@
-POLLIN
-POLLPRI
-POLLOUT
-POLLRDNORM
+POLLIN         0x0001
+POLLPRI                0x0002
+POLLOUT                0x0004
+POLLRDNORM     0x0040
 POLLWRNORM
-POLLRDBAND
+POLLRDBAND     0x0080
 POLLWRBAND
-POLLERR
-POLLHUP
-POLLNVAL
+POLLERR                0x0008
+POLLHUP                0x0010
+POLLNVAL       0x0020
 POLLMSG
 POLLREMOVE
 POLLRDHUP
-POLL_BUSY_LOOP
+POLL_BUSY_LOOP 0x8000