sys/poll: add POLLRDHUP definition

Change-Id: I1117279d9a620138789256d699ae32d47eab3a90
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2021-06-07 11:12:12 +08:00 committed by Gustavo Henrique Nihei
parent a018a3a26b
commit 80b7394a95

View File

@ -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)