nuttx/libs/libc/spawn
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
..
lib_psa_dump.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getflags.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getschedparam.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getschedpolicy.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getsigmask.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getstackaddr.c sched/spawn: Support the stack address argument 2021-06-13 00:04:59 -07:00
lib_psa_getstacksize.c sched/spawn: Support the stack address argument 2021-06-13 00:04:59 -07:00
lib_psa_init.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setflags.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setschedparam.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setschedpolicy.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setsigmask.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setstackaddr.c sched/spawn: Support the stack address argument 2021-06-13 00:04:59 -07:00
lib_psa_setstacksize.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_addaction.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_addclose.c fs: allocate file/socket dynamically 2021-03-17 06:46:42 -07:00
lib_psfa_adddup2.c Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507 2021-05-07 20:46:07 +08:00
lib_psfa_addopen.c libs: Gregory Nutt: update licenses to Apache 2021-04-02 11:12:25 -05:00
lib_psfa_destroy.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_dump.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_init.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Make.defs sched/task: Simplify the syscall handling of task_spawn 2021-06-13 00:30:57 -07:00