Files
nuttx/syscall/syscall.csv
T
Xiang Xiao d9cfeb0bc3 sched: Don't forward gettid to getpid directly
prepare to implement the right semantics:
getpid should return the main thread id
gettid should return the current thread id
2021-03-04 17:17:41 -06:00

17 KiB

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