nuttx/syscall/syscall.csv
Xiang Xiao ae216cf9e9 sched/task: Simplify the syscall handling of task_spawn
It's better to save one argument by returning pid directly.
This change also follow the convention of task_create.
BTW, it is reasonable to adjust the function prototype a
little bit from both implementation and consistency since
task_spawn is NuttX specific API.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 12:45:10 +09:00

17 KiB

1_exitunistd.hnoreturnint
2aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
3aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
4atexitstdlib.hdefined(CONFIG_SCHED_ATEXIT)intvoid (*)(void)
5closeunistd.hintint
6closedirdirent.hintFAR DIR *
7dupunistd.hintint
8exitstdlib.hnoreturnint
9fsyncunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intint
10getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char *FAR const char *
11if_nametoindexnet/if.hdefined(CONFIG_NETDEV_IFINDEX)unsigned intFAR const char *
12modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
13mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
14mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intFAR const char *
15nx_pthread_exitnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)noreturnpthread_addr_t
16opendirdirent.hFAR DIR *FAR const char *
17pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
18pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
19pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
20pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
21pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
22pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
23pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
24pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
25putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
26readdirdirent.hFAR struct dirent *FAR DIR *
27rewinddirdirent.hvoidFAR DIR *
28rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
29rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
30sched_getschedulersched.hintpid_t
31sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
32sem_destroysemaphore.hintFAR sem_t *
33sem_postsemaphore.hintFAR sem_t *
34sem_trywaitsemaphore.hintFAR sem_t *
35sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
36sem_waitsemaphore.hintFAR sem_t *
37setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
38setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
39shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
40sigpendingsignal.hintFAR sigset_t *
41sigsuspendsignal.hintFAR const sigset_t *
42task_deletesched.hintpid_t
43task_restartsched.hintpid_t
44tcdraintermios.hdefined(CONFIG_SERIAL_TERMIOS)intint
45telldirdirent.hoff_tFAR DIR *
46timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
47timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
48tls_freenuttx/tls.hCONFIG_TLS_NELEM > 0intint
49tls_get_dtornuttx/tls.hCONFIG_TLS_NELEM > 0tls_dtor_tint
50unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *
51unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
52waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tFAR int *