nuttx/syscall/syscall.csv
Xiang Xiao c997bf0f52 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>
Change-Id: Id74f4dd1ef26dfd8f7c473684cf1a45fbeee13cf
2021-06-13 00:30:57 -07: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 *
15opendirdirent.hFAR DIR *FAR const char *
16pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
17pthread_cleanup_poppthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidint
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_exitpthread.h!defined(CONFIG_DISABLE_PTHREAD)noreturnpthread_addr_t
22pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
23pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
24pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
25pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
26putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
27readdirdirent.hFAR struct dirent *FAR DIR *
28rewinddirdirent.hvoidFAR DIR *
29rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
30rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
31sched_getschedulersched.hintpid_t
32sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
33sem_destroysemaphore.hintFAR sem_t *
34sem_postsemaphore.hintFAR sem_t *
35sem_trywaitsemaphore.hintFAR sem_t *
36sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
37sem_waitsemaphore.hintFAR sem_t *
38setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
39setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
40shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
41sigpendingsignal.hintFAR sigset_t *
42sigsuspendsignal.hintFAR const sigset_t *
43task_deletesched.hintpid_t
44task_restartsched.hintpid_t
45tcdraintermios.hdefined(CONFIG_SERIAL_TERMIOS)intint
46telldirdirent.hoff_tFAR DIR *
47timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
48timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
49tls_freenuttx/tls.hCONFIG_TLS_NELEM > 0intint
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 *