We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf5162 commit c3ec3b7Copy full SHA for c3ec3b7
libctru/include/poll.h
@@ -1,11 +1,15 @@
1
#pragma once
2
3
-#define POLLIN 0x01
4
-#define POLLPRI 0x02
5
-#define POLLHUP 0x04 // unknown ???
6
-#define POLLERR 0x08 // probably
7
-#define POLLOUT 0x10
8
-#define POLLNVAL 0x20
+#define POLLRDNORM 0x01
+#define POLLRDBAND 0x02
+#define POLLPRI 0x04
+#define POLLWRNORM 0x08
+#define POLLWRBAND 0x10
+#define POLLERR 0x20
9
+#define POLLHUP 0x40
10
+#define POLLNVAL 0x80
11
+#define POLLIN (POLLRDNORM | POLLRDBAND)
12
+#define POLLOUT POLLWRNORM
13
14
typedef unsigned int nfds_t;
15
0 commit comments