]> Chaos Git - corbenik/ctrulib.git/commitdiff
Update poll.h
authormtheall <pigman46@gmail.com>
Mon, 8 Dec 2014 18:12:34 +0000 (12:12 -0600)
committermtheall <pigman46@gmail.com>
Mon, 8 Dec 2014 18:12:34 +0000 (12:12 -0600)
libctru/include/poll.h

index 4315a432f4858d240f8da2608cea8404154adff4..67c7ae34550364b3702ff8b52637a0297db94fee 100644 (file)
@@ -2,17 +2,12 @@
 
 #include <3ds/types.h>
 
-/* only POLLIN confirmed to work so far */
-#define POLLIN         0x001
-#define POLLPRI                0x002
-#define POLLOUT                0x004
-#define POLLERR                0x008
-#define POLLHUP                0x010
-#define POLLNVAL       0x020
-#define POLLRDNORM     0x040
-#define POLLRDBAND     0x080
-#define POLLWRNORM     0x100
-#define POLLWRBAND     0x200
+#define POLLIN         0x01
+#define POLLPRI                0x02
+#define POLLOUT                0x10
+#define POLLERR                0x00 // unknown ???
+#define POLLHUP                0x00 // unknown ???
+#define POLLNVAL       0x20
 
 typedef u32 nfds_t;