sys/poll: add POLLRDHUP definition
Change-Id: I1117279d9a620138789256d699ae32d47eab3a90 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
a018a3a26b
commit
80b7394a95
@ -74,6 +74,7 @@
|
||||
|
||||
#define POLLERR (0x08)
|
||||
#define POLLHUP (0x10)
|
||||
#define POLLRDHUP (0x10) /* NuttX does not support shutdown(fd, SHUT_RD) */
|
||||
#define POLLNVAL (0x20)
|
||||
|
||||
#define POLLFD (0x00)
|
||||
|
Loading…
Reference in New Issue
Block a user