You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/08/14 04:33:39 UTC
[GitHub] [incubator-nuttx] anchao opened a new pull request #1582: vfs/epoll: add epoll_create1(2) implement
anchao opened a new pull request #1582:
URL: https://github.com/apache/incubator-nuttx/pull/1582
##Summary
vfs/epoll: add epoll_create1(2) implement
Linux Programmer's Manual
NAME
epoll_create, epoll_create1 - open an epoll file descriptor
...
SYNOPSIS
#include <sys/epoll.h>
int epoll_create1(int flags);
...
epoll_create1()
If flags is 0, then, other than the fact that the obsolete
size argument is dropped, epoll_create1() is the same as
epoll_create(). The following value can be included in flags
to obtain different behavior:
EPOLL_CLOEXEC
Set the close-on-exec (FD_CLOEXEC) flag on the new file
descriptor. See the description of the O_CLOEXEC flag in
open(2) for reasons why this may be useful.
https://man7.org/linux/man-pages/man7/epoll.7.html
Change-Id: Ida4fed27454fedd356d29c6fdae3cecdf3114ca2
Signed-off-by: chao.an <an...@xiaomi.com>
## Impact
## Testing
api test
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #1582: vfs/epoll: add epoll_create1(2) implement
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #1582:
URL: https://github.com/apache/incubator-nuttx/pull/1582
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org