mirror of
https://github.com/apache/nuttx.git
synced 2026-02-06 04:22:26 +08:00
syscall: add missing epoll API
Add missing epoll syscall API for kernelbuild epoll_create, epoll_pwait, epoll_close Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
@@ -389,8 +389,11 @@ SYSCALL_LOOKUP(nanosleep, 2)
|
||||
|
||||
/* I/O event notification facility */
|
||||
|
||||
SYSCALL_LOOKUP(epoll_close, 1)
|
||||
SYSCALL_LOOKUP(epoll_create, 1)
|
||||
SYSCALL_LOOKUP(epoll_create1, 1)
|
||||
SYSCALL_LOOKUP(epoll_ctl, 4)
|
||||
SYSCALL_LOOKUP(epoll_pwait, 5)
|
||||
SYSCALL_LOOKUP(epoll_wait, 4)
|
||||
|
||||
/* POSIX timers */
|
||||
|
||||
@@ -19,8 +19,11 @@
|
||||
"connect","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr *","socklen_t"
|
||||
"dup","unistd.h","","int","int"
|
||||
"dup2","unistd.h","","int","int","int"
|
||||
"epoll_close","sys/epoll.h","","void","int"
|
||||
"epoll_create","sys/epoll.h","","int","int"
|
||||
"epoll_create1","sys/epoll.h","","int","int"
|
||||
"epoll_ctl","sys/epoll.h","","int","int","int","int","FAR struct epoll_event *"
|
||||
"epoll_pwait","sys/epoll.h","","int","int","FAR struct epoll_event *","int","int","FAR const sigset_t *"
|
||||
"epoll_wait","sys/epoll.h","","int","int","FAR struct epoll_event *","int","int"
|
||||
"eventfd","sys/eventfd.h","defined(CONFIG_EVENT_FD)","int","unsigned int","int"
|
||||
"exec","nuttx/binfmt/binfmt.h","!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","FAR char * const *","FAR char * const *","FAR const struct symtab_s *","int"
|
||||
|
||||
|
Reference in New Issue
Block a user