Files
nuttx/syscall/syscall.csv
zhanghongyu 48c9d10336 net_socket: add accept4 function
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-01-11 23:28:08 +08:00

17 KiB

1_exitunistd.hnoreturnint
2_assertassert.hvoidFAR const char *int
3acceptsys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
4accept4sys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *int
5adjtimesys/time.hdefined(CONFIG_CLOCK_TIMEKEEPING)intFAR const struct timeval *FAR struct timeval *
6aio_cancelaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
7aio_fsyncaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
8aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
9aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
10arc4random_bufstdlib.hdefined(CONFIG_CRYPTO_RANDOM_POOL)voidFAR void *size_t
11bindsys/socket.hdefined(CONFIG_NET)intintFAR const struct sockaddr *socklen_t
12boardctlsys/boardctl.hdefined(CONFIG_BOARDCTL)intunsigned intuintptr_t
13chmodsys/stat.hintFAR const char *mode_t
14chownunistd.hintFAR const char *uid_tgid_t
15clearenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)int
16clocktime.hclock_t
17clock_getrestime.hintclockid_tFAR struct timespec *
18clock_gettimetime.hintclockid_tFAR struct timespec *
19clock_nanosleeptime.hintclockid_tintFAR const struct timespec *FAR struct timespec *
20clock_settimetime.hintclockid_tconst struct timespec*
21closeunistd.hintint
22connectsys/socket.hdefined(CONFIG_NET)intintFAR const struct sockaddr *socklen_t
23dupunistd.hintint
24dup2unistd.hintintint
25eventfdsys/eventfd.hdefined(CONFIG_EVENT_FD)intunsigned intint
26execnuttx/binfmt/binfmt.h!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)intFAR const char *FAR char * const *FAR char * const *FAR const struct symtab_s *int
27execveunistd.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)intFAR const char *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
28fchmodsys/stat.hintintmode_t
29fchownunistd.hintintuid_tgid_t
30fcntlfcntl.hintintint...int
31fs_fdopennuttx/fs/fs.hdefined(CONFIG_FILE_STREAM)intintintFAR struct tcb_s *FAR struct file_struct **
32fstatsys/stat.hintintFAR struct stat *
33fstatfssys/statfs.hintintFAR struct statfs *
34fsyncunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intint
35ftruncateunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intintoff_t
36futimenssys/stat.hintintconst struct timespec [2]|FAR const struct timespec *
37get_environ_ptrstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char **
38getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char *FAR const char *
39getgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)gid_t
40gethostnameunistd.hintFAR char *size_t
41getitimersys/time.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intintFAR struct itimerval *
42getpeernamesys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
43getpidunistd.hpid_t
44getppidunistd.hdefined(CONFIG_SCHED_HAVE_PARENT)pid_t
45getsocknamesys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
46getsockoptsys/socket.hdefined(CONFIG_NET)intintintintFAR void *FAR socklen_t *
47gettidunistd.hpid_t
48getuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)uid_t
49insmodnuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *FAR const char *
50ioctlsys/ioctl.hintintint...unsigned long
51killsignal.hintpid_tint
52lchmodsys/stat.hintFAR const char *mode_t
53lchownunistd.hintFAR const char *uid_tgid_t
54listensys/socket.hdefined(CONFIG_NET)intintint
55lseekunistd.hoff_tintoff_tint
56lstatsys/stat.hintFAR const char *FAR struct stat *
57lutimenssys/stat.hintFAR const char *const struct timespec [2]|FAR const struct timespec *
58mkdirsys/stat.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *mode_t
59mmapsys/mman.hFAR void *FAR void *size_tintintintoff_t
60modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
61mountsys/mount.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *FAR const char *FAR const char *unsigned longFAR const void *
62mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
63mq_getattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR struct mq_attr *
64mq_notifymqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const struct sigevent *
65mq_openmqueue.h!defined(CONFIG_DISABLE_MQUEUE)mqd_tFAR const char *int...mode_tFAR struct mq_attr *
66mq_receivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *
67mq_sendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned int
68mq_setattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const struct mq_attr *FAR struct mq_attr *
69mq_timedreceivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *FAR const struct timespec *
70mq_timedsendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned intFAR const struct timespec *
71mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intFAR const char *
72munmapsys/mman.hintFAR void *size_t
73nx_mkfifonuttx/fs/fs.hdefined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0intFAR const char *mode_tsize_t
74nx_pthread_createnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_trampoline_tFAR pthread_t *FAR const pthread_attr_t *pthread_startroutine_tpthread_addr_t
75nx_pthread_exitnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)noreturnpthread_addr_t
76nx_vsyslognuttx/syslog/syslog.hintintFAR const IPTR char *FAR va_list *
77nxsched_get_stackinfonuttx/sched.hintpid_tFAR struct stackinfo_s *
78openfcntl.hintFAR const char *int...mode_t
79pgallocnuttx/arch.hdefined(CONFIG_BUILD_KERNEL)uintptr_tuintptr_tunsigned int
80pipe2unistd.hdefined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0intint [2]|FAR int *int
81pollpoll.hintFAR struct pollfd *nfds_tint
82posix_spawnspawn.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)intFAR pid_t *FAR const char *FAR const posix_spawn_file_actions_t *FAR const posix_spawnattr_t *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
83ppollpoll.hintFAR struct pollfd *nfds_tFAR const struct timespec *FAR const sigset_t *
84prctlsys/prctl.hintint...uintptr_tuintptr_t
85preadunistd.hssize_tintFAR void *size_toff_t
86pselectsys/select.hintintFAR fd_set *FAR fd_set *FAR fd_set *FAR const struct timespec *FAR const sigset_t *
87pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
88pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
89pthread_cond_clockwaitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *clockid_tFAR const struct timespec *
90pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
91pthread_cond_waitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *
92pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
93pthread_getaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR cpu_set_t*
94pthread_getschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR int *FAR struct sched_param *
95pthread_joinpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR pthread_addr_t *
96pthread_killpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
97pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
98pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
99pthread_mutex_initpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *FAR const pthread_mutexattr_t *
100pthread_mutex_timedlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *FAR const struct timespec *
101pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
102pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
103pthread_setaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR const cpu_set_t *
104pthread_setschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tintFAR const struct sched_param *
105pthread_setschedpriopthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
106pthread_sigmaskpthread.h!defined(CONFIG_DISABLE_PTHREAD)intintFAR const sigset_t *FAR sigset_t *
107putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
108pwriteunistd.hssize_tintFAR const void *size_toff_t
109readunistd.hssize_tintFAR void *size_t
110readlinkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)ssize_tFAR const char *FAR char *size_t
111recvsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void *size_tint
112recvfromsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void*size_tintFAR struct sockaddr*FAR socklen_t*
113recvmsgsys/socket.hdefined(CONFIG_NET)ssize_tintFAR struct msghdr *int
114renamestdio.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *FAR const char *
115rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
116rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
117sched_getaffinitysched.hdefined(CONFIG_SMP)intpid_tsize_tFAR cpu_set_t *
118sched_getcpusched.hdefined(CONFIG_SMP)int
119sched_getparamsched.hintpid_tFAR struct sched_param *
120sched_getschedulersched.hintpid_t
121sched_locksched.hint
122sched_lockcountsched.hint
123sched_rr_get_intervalsched.hintpid_tstruct timespec *
124sched_setaffinitysched.hdefined(CONFIG_SMP)intpid_tsize_tFAR const cpu_set_t*
125sched_setparamsched.hintpid_tconst struct sched_param *
126sched_setschedulersched.hintpid_tintconst struct sched_param *
127sched_unlocksched.hint
128sched_yieldsched.hint
129sched_backtracesched.hdefined(CONFIG_SCHED_BACKTRACE)intpid_tFAR void **intint
130selectsys/select.hintintFAR fd_set *FAR fd_set *FAR fd_set *FAR struct timeval *
131sem_clockwaitsemaphore.hintFAR sem_t *clockid_tFAR const struct timespec *
132sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
133sem_destroysemaphore.hintFAR sem_t *
134sem_opensemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)FAR sem_t *FAR const char *int...mode_tunsigned int
135sem_postsemaphore.hintFAR sem_t *
136sem_setprotocolnuttx/semaphore.hdefined(CONFIG_PRIORITY_INHERITANCE)intFAR sem_t *int
137sem_timedwaitsemaphore.hintFAR sem_t *FAR const struct timespec *
138sem_trywaitsemaphore.hintFAR sem_t *
139sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
140sem_waitsemaphore.hintFAR sem_t *
141sendsys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tint
142sendfilesys/sendfile.hssize_tintintFAR off_t *size_t
143sendmsgsys/socket.hdefined(CONFIG_NET)ssize_tintFAR struct msghdr *int
144sendtosys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tintFAR const struct sockaddr *socklen_t
145setenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *FAR const char *int
146setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
147sethostnameunistd.hintFAR const char *size_t
148setitimersys/time.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intintFAR const struct itimerval *FAR struct itimerval *
149setsockoptsys/socket.hdefined(CONFIG_NET)intintintintFAR const void *socklen_t
150setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
151shmatsys/shm.hdefined(CONFIG_MM_SHM)FAR void *intFAR const void *int
152shmctlsys/shm.hdefined(CONFIG_MM_SHM)intintintFAR struct shmid_ds *
153shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
154shmgetsys/shm.hdefined(CONFIG_MM_SHM)intkey_tsize_tint
155sigactionsignal.hintintFAR const struct sigaction *FAR struct sigaction *
156sigpendingsignal.hintFAR sigset_t *
157sigprocmasksignal.hintintFAR const sigset_t *FAR sigset_t *
158sigqueuesignal.hintintintunion sigval|FAR void *|sival_ptr
159sigsuspendsignal.hintFAR const sigset_t *
160sigtimedwaitsignal.hintFAR const sigset_t *FAR struct siginfo *FAR const struct timespec *
161sigwaitinfosignal.hintFAR const sigset_t *FAR struct siginfo *
162socketsys/socket.hdefined(CONFIG_NET)intintintint
163socketpairsys/socket.hdefined(CONFIG_NET)intintintintint [2]|FAR int *
164statsys/stat.hintFAR const char *FAR struct stat *
165statfssys/statfs.hintFAR const char *FAR struct statfs *
166symlinkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)intFAR const char *FAR const char *
167sysinfosys/sysinfo.hintFAR struct sysinfo *
168task_createsched.h!defined(CONFIG_BUILD_KERNEL)intFAR const char *intintmain_tFAR char * const []|FAR char * const *
169task_deletesched.h!defined(CONFIG_BUILD_KERNEL)intpid_t
170task_restartsched.h!defined(CONFIG_BUILD_KERNEL)intpid_t
171task_setcancelstatesched.hintintFAR int *
172task_setcanceltypesched.hdefined(CONFIG_CANCELLATION_POINTS)intintFAR int *
173task_spawnnuttx/spawn.h!defined(CONFIG_BUILD_KERNEL)intFAR const char *main_tFAR const posix_spawn_file_actions_t *FAR const posix_spawnattr_t *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
174task_testcancelsched.hdefined(CONFIG_CANCELLATION_POINTS)void
175task_tls_allocnuttx/tls.hCONFIG_TLS_TASK_NELEM > 0inttls_dtor_t
176timer_createtime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intclockid_tFAR struct sigevent *FAR timer_t *
177timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
178timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
179timer_gettimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tFAR struct itimerspec *
180timer_settimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tintFAR const struct itimerspec *FAR struct itimerspec *
181timerfd_createsys/timerfd.hdefined(CONFIG_TIMER_FD)intintint
182timerfd_gettimesys/timerfd.hdefined(CONFIG_TIMER_FD)intintFAR struct itimerspec *
183timerfd_settimesys/timerfd.hdefined(CONFIG_TIMER_FD)intintintFAR const struct itimerspec *FAR const struct itimerspec *
184umount2sys/mount.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *unsigned int
185unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *
186unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
187utimenssys/stat.hintFAR const char *const struct timespec [2]|FAR const struct timespec *
188vforkunistd.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_ARCH_HAVE_VFORK)pid_t
189waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tFAR int *
190waitidsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)intidtype_tid_t FAR siginfo_t *int
191waitpidsys/wait.hdefined(CONFIG_SCHED_WAITPID)pid_tpid_tFAR int *int
192writeunistd.hssize_tintFAR const void *size_t