include/poll: add POLLPRI for exceptional event

Change-Id: I40d566e2c6f0d1fd7232148918635fa8d336ce28
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu 2020-09-16 20:56:19 +08:00 committed by Xiang Xiao
parent 7910b58415
commit 45a8de8fa0

View File

@ -80,15 +80,16 @@
#define POLLIN (0x01) /* NuttX does not make priority distinctions */
#define POLLRDNORM (0x01)
#define POLLRDBAND (0x01)
#define POLLPRI (0x01)
#define POLLOUT (0x02) /* NuttX does not make priority distinctions */
#define POLLWRNORM (0x02)
#define POLLWRBAND (0x02)
#define POLLPRI (0x02)
#define POLLERR (0x04)
#define POLLHUP (0x08)
#define POLLNVAL (0x10)
#define POLLOUT (0x04) /* NuttX does not make priority distinctions */
#define POLLWRNORM (0x04)
#define POLLWRBAND (0x04)
#define POLLERR (0x08)
#define POLLHUP (0x10)
#define POLLNVAL (0x20)
#define POLLFD (0x00)
#define POLLFILE (0x40)