summaryrefslogtreecommitdiff
path: root/lib/sys
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-05-22 12:18:44 -0700
committerOri Bernstein <ori@markovcorp.com>2017-05-22 12:18:44 -0700
commit565592b47ee1b6877dc8788c10f134913e1e067a (patch)
tree9a3fd0402c313697af174269aab3b4d9dd39fc44 /lib/sys
parentf247b6c460cb00e149434174dbd2b8be32a771e9 (diff)
downloadmc-565592b47ee1b6877dc8788c10f134913e1e067a.tar.gz
Linux was missing poll events.
Diffstat (limited to 'lib/sys')
-rw-r--r--lib/sys/sys+linux-x64.myr3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sys/sys+linux-x64.myr b/lib/sys/sys+linux-x64.myr
index 5aa3f01..7f7760b 100644
--- a/lib/sys/sys+linux-x64.myr
+++ b/lib/sys/sys+linux-x64.myr
@@ -317,6 +317,9 @@ pkg sys =
const Pollin : pollevt = 0x001 /* There is data to read. */
const Pollpri : pollevt = 0x002 /* There is urgent data to read. */
const Pollout : pollevt = 0x004 /* Writing now will not block. */
+ const Pollerr : pollevt = 0x008 /* Error condition. */
+ const Pollhup : pollevt = 0x010 /* Hung up. */
+ const Pollnval : pollevt = 0x020 /* Invalid polling request. */
/* poll events: xopen */
const Pollrdnorm : pollevt = 0x040 /* Normal data may be read. */