expose POLLHUP and POLLNVAL for netcat.c

This commit is contained in:
Damien Miller 2015-08-21 15:45:02 +10:00
parent e91346dc2b
commit 189de02d9a
1 changed files with 2 additions and 2 deletions

View File

@ -42,11 +42,11 @@ typedef unsigned int nfds_t;
#define POLLIN 0x0001 #define POLLIN 0x0001
#define POLLOUT 0x0004 #define POLLOUT 0x0004
#define POLLERR 0x0008 #define POLLERR 0x0008
#define POLLHUP 0x0010
#define POLLNVAL 0x0020
#if 0 #if 0
/* the following are currently not implemented */ /* the following are currently not implemented */
#define POLLPRI 0x0002 #define POLLPRI 0x0002
#define POLLHUP 0x0010
#define POLLNVAL 0x0020
#define POLLRDNORM 0x0040 #define POLLRDNORM 0x0040
#define POLLNORM POLLRDNORM #define POLLNORM POLLRDNORM
#define POLLWRNORM POLLOUT #define POLLWRNORM POLLOUT