Update poll.h

This commit is contained in:
mtheall 2014-12-08 12:12:34 -06:00
parent b5723c9209
commit 8536e1e6ef

View File

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