This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 45a8de8 include/poll: add POLLPRI for exceptional event 45a8de8 is described below commit 45a8de8fa00d4542923c9d04d2990e67257b8337 Author: dongjiuzhu <dongjiuz...@xiaomi.com> AuthorDate: Wed Sep 16 20:56:19 2020 +0800 include/poll: add POLLPRI for exceptional event Change-Id: I40d566e2c6f0d1fd7232148918635fa8d336ce28 Signed-off-by: dongjiuzhu <dongjiuz...@xiaomi.com> --- include/poll.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/include/poll.h b/include/poll.h index d5325c3..fc0384f 100644 --- a/include/poll.h +++ b/include/poll.h @@ -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)