nuttx/syscall/syscall.csv
guoshichao 3524f4b9ce libs/libc/fork: add lib_fork implementation
1. add lib_fork api in libs/libc, we need a fork() api to implement the
fork relative method, such as pthread_atfork
2. rename the assembly fork entry function name to up_fork(), and rename
the up_fork() to arch specific name, such as
sim_fork()/arm_fork()/mips_fork() etc.

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2023-07-26 10:41:52 +02:00

18 KiB

1_assertassert.hvoidFAR const char *intFAR const char *FAR void *
2accept4sys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *int
3clock_nanosleeptime.hintclockid_tintFAR const struct timespec *FAR struct timespec *
4epoll_ctlsys/epoll.hintintintintFAR struct epoll_event *
5epoll_waitsys/epoll.hintintFAR struct epoll_event *intint
6fcntlfcntl.hintintint...int
7fs_fdopennuttx/fs/fs.hdefined(CONFIG_FILE_STREAM)intintintFAR struct tcb_s *FAR struct file_struct **
8ioctlsys/ioctl.hintintint...unsigned long
9mq_receivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *
10mq_sendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned int
11openfcntl.hintFAR const char *int...mode_t
12ppollpoll.hintFAR struct pollfd *nfds_tFAR const struct timespec *FAR const sigset_t *
13prctlsys/prctl.hintint...uintptr_tuintptr_t
14preadunistd.hssize_tintFAR void *size_toff_t
15pthread_cond_clockwaitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *clockid_tFAR const struct timespec *
16pwriteunistd.hssize_tintFAR const void *size_toff_t
17recvsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void *size_tint
18sched_backtracesched.hdefined(CONFIG_SCHED_BACKTRACE)intpid_tFAR void **intint
19sendsys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tint
20sendfilesys/sendfile.hssize_tintintFAR off_t *size_t
21socketpairsys/socket.hdefined(CONFIG_NET)intintintintint [2]|FAR int *
22timer_settimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tintFAR const struct itimerspec *FAR struct itimerspec *
23timerfd_settimesys/timerfd.hdefined(CONFIG_TIMER_FD)intintintFAR const struct itimerspec *FAR struct itimerspec *
24waitidsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)intidtype_tid_t FAR siginfo_t *int