commit 7fa956a2d5f377d7a7389bdb47031478b03a67cb
parent d7d75c166c4562b2864fc73e7c9c078fbf5e387c
Author: Mykyta Holubakha <hilobakho@gmail.com>
Date: Sat, 13 Mar 2021 16:29:03 +0200
rt: add missing POLL* constants
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha
@@ -314,6 +314,9 @@ export type utsname = struct {
export def POLLIN: i16 = 0x001;
export def POLLPRI: i16 = 0x002;
export def POLLOUT: i16 = 0x004;
+export def POLLERR: i16 = 0x008;
+export def POLLHUP: i16 = 0x010;
+export def POLLVAL: i16 = 0x020;
export type pollfd = struct {
fd: int,