syscall/libc: add more syscall/libc symbols into csv file

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an
2023-03-31 21:56:50 +09:00
committed by Masayuki Ishikawa
parent 478f2f3d5f
commit 3c58f5db2b
4 changed files with 106 additions and 10 deletions
+17 -3
View File
@@ -1,5 +1,5 @@
"_exit","unistd.h","","noreturn","int"
"_assert","assert.h","","void","FAR const char *","int","FAR const char *"
"_exit","unistd.h","","noreturn","int"
"accept4","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *","int"
"adjtime","sys/time.h","defined(CONFIG_CLOCK_TIMEKEEPING)","int","FAR const struct timeval *","FAR struct timeval *"
"aio_cancel","aio.h","defined(CONFIG_FS_AIO)","int","int","FAR struct aiocb *"
@@ -21,6 +21,9 @@
"connect","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr *","socklen_t"
"dup","unistd.h","","int","int"
"dup2","unistd.h","","int","int","int"
"epoll_create1","sys/epoll.h","","int","int"
"epoll_ctl","sys/epoll.h","","int","int","int","int","FAR struct epoll_event *"
"epoll_wait","sys/epoll.h","","int","int","FAR struct epoll_event *","int","int"
"eventfd","sys/eventfd.h","defined(CONFIG_EVENT_FD)","int","unsigned int","int"
"exec","nuttx/binfmt/binfmt.h","!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","FAR char * const *","FAR char * const *","FAR const struct symtab_s *","int"
"execve","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
@@ -34,16 +37,20 @@
"ftruncate","unistd.h","","int","int","off_t"
"futimens","sys/stat.h","","int","int","const struct timespec [2]|FAR const struct timespec *"
"get_environ_ptr","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char **"
"getegid","unistd.h","","gid_t"
"getenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","FAR char *","FAR const char *"
"geteuid","unistd.h","","uid_t"
"getgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","gid_t"
"gethostname","unistd.h","","int","FAR char *","size_t"
"getitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR struct itimerval *"
"getpeername","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *"
"getpid","unistd.h","","pid_t"
"getppid","unistd.h","defined(CONFIG_SCHED_HAVE_PARENT)","pid_t"
"getrandom","sys/random.h","","ssize_t","FAR void *","size_t","unsigned int"
"getsockname","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct sockaddr *","FAR socklen_t *"
"getsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR void *","FAR socklen_t *"
"gettid","unistd.h","","pid_t"
"gettimeofday","sys/time.h","","int","FAR struct timeval *","FAR struct timezone *"
"getuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","uid_t"
"insmod","nuttx/module.h","defined(CONFIG_MODULE)","FAR void *","FAR const char *","FAR const char *"
"ioctl","sys/ioctl.h","","int","int","int","...","unsigned long"
@@ -70,6 +77,7 @@
"mq_timedsend","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","FAR const char *","size_t","unsigned int","FAR const struct timespec *"
"mq_unlink","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","FAR const char *"
"munmap","sys/mman.h","","int","FAR void *","size_t"
"nanosleep","time.h","","int","FAR const struct timespec *","FAR struct timespec *"
"nx_mkfifo","nuttx/fs/fs.h","defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0","int","FAR const char *","mode_t","size_t"
"nx_pthread_create","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_trampoline_t","FAR pthread_t *","FAR const pthread_attr_t *","pthread_startroutine_t","pthread_addr_t"
"nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
@@ -113,6 +121,7 @@
"rename","stdio.h","","int","FAR const char *","FAR const char *"
"rmdir","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*"
"rmmod","nuttx/module.h","defined(CONFIG_MODULE)","int","FAR void *"
"sched_backtrace","sched.h","defined(CONFIG_SCHED_BACKTRACE)","int","pid_t","FAR void **","int","int"
"sched_getaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR cpu_set_t *"
"sched_getcpu","sched.h","defined(CONFIG_SMP)","int"
"sched_getparam","sched.h","","int","pid_t","FAR struct sched_param *"
@@ -125,7 +134,6 @@
"sched_setscheduler","sched.h","","int","pid_t","int","const struct sched_param *"
"sched_unlock","sched.h","","int"
"sched_yield","sched.h","","int"
"sched_backtrace","sched.h","defined(CONFIG_SCHED_BACKTRACE)","int","pid_t","FAR void **","int","int"
"select","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR struct timeval *"
"sem_clockwait","semaphore.h","","int","FAR sem_t *","clockid_t","FAR const struct timespec *"
"sem_close","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *"
@@ -141,11 +149,14 @@
"sendfile","sys/sendfile.h","","ssize_t","int","int","FAR off_t *","size_t"
"sendmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR struct msghdr *","int"
"sendto","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int","FAR const struct sockaddr *","socklen_t"
"setegid","unistd.h","","int","gid_t"
"setenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *","FAR const char *","int"
"seteuid","unistd.h","","int","uid_t"
"setgid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","gid_t"
"sethostname","unistd.h","","int","FAR const char *","size_t"
"setitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR const struct itimerval *","FAR struct itimerval *"
"setsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR const void *","socklen_t"
"settimeofday","sys/time.h","","int","FAR const struct timeval *","FAR const struct timezone *"
"setuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","uid_t"
"shm_open","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *","int","mode_t"
"shm_unlink","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *"
@@ -155,6 +166,8 @@
"shmget","sys/shm.h","defined(CONFIG_MM_SHM)","int","key_t","size_t","int"
"shutdown","sys/socket.h","defined(CONFIG_NET)","int","int","int"
"sigaction","signal.h","","int","int","FAR const struct sigaction *","FAR struct sigaction *"
"signal","signal.h","","_sa_handler_t","int","_sa_handler_t"
"signalfd","sys/signalfd.h","defined(CONFIG_SIGNAL_FD)","int","int","FAR const sigset_t *","int"
"sigpending","signal.h","","int","FAR sigset_t *"
"sigprocmask","signal.h","","int","int","FAR const sigset_t *","FAR sigset_t *"
"sigqueue","signal.h","","int","int","int","union sigval|FAR void *|sival_ptr"
@@ -177,6 +190,7 @@
"task_testcancel","sched.h","defined(CONFIG_CANCELLATION_POINTS)","void"
"task_tls_alloc","nuttx/tls.h","CONFIG_TLS_TASK_NELEM > 0","int","tls_dtor_t"
"tgkill","signal.h","","int","pid_t","pid_t","int"
"time","time.h","","time_t","FAR time_t *"
"timer_create","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","clockid_t","FAR struct sigevent *","FAR timer_t *"
"timer_delete","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t"
"timer_getoverrun","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t"
@@ -184,7 +198,7 @@
"timer_settime","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t","int","FAR const struct itimerspec *","FAR struct itimerspec *"
"timerfd_create","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","int"
"timerfd_gettime","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","FAR struct itimerspec *"
"timerfd_settime","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","int","FAR const struct itimerspec *","FAR const struct itimerspec *"
"timerfd_settime","sys/timerfd.h","defined(CONFIG_TIMER_FD)","int","int","int","FAR const struct itimerspec *","FAR struct itimerspec *"
"umount2","sys/mount.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","unsigned int"
"unlink","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *"
"unsetenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"
1 _exit _assert unistd.h assert.h noreturn void FAR const char * int FAR const char *
_exit unistd.h noreturn int
1 _assert assert.h void FAR const char * FAR const char * int FAR const char *
2 _exit unistd.h noreturn int
3 accept4 sys/socket.h defined(CONFIG_NET) int int int FAR struct sockaddr * FAR socklen_t *
4 adjtime sys/time.h defined(CONFIG_CLOCK_TIMEKEEPING) int FAR const struct timeval * FAR const struct timeval * FAR struct timeval *
5 aio_cancel aio.h defined(CONFIG_FS_AIO) int int int FAR struct aiocb *
21 connect sys/socket.h defined(CONFIG_NET) int int int FAR const struct sockaddr * socklen_t
22 dup unistd.h int int
23 dup2 unistd.h int int int
24 epoll_create1 sys/epoll.h int int
25 epoll_ctl sys/epoll.h int int int int
26 epoll_wait sys/epoll.h int int FAR struct epoll_event * int
27 eventfd sys/eventfd.h defined(CONFIG_EVENT_FD) int unsigned int unsigned int int
28 exec nuttx/binfmt/binfmt.h !defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL) int FAR const char * FAR const char * FAR char * const * FAR char * const *
29 execve unistd.h !defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) int FAR const char * FAR const char * FAR char * const []|FAR char * const * FAR char * const []|FAR char * const *
37 ftruncate unistd.h int int int off_t
38 futimens sys/stat.h int int int const struct timespec [2]|FAR const struct timespec *
39 get_environ_ptr stdlib.h !defined(CONFIG_DISABLE_ENVIRON) FAR char **
40 getegid unistd.h gid_t
41 getenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) FAR char * FAR const char *
42 geteuid unistd.h uid_t
43 getgid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) gid_t
44 gethostname unistd.h int FAR char * FAR char * size_t
45 getitimer sys/time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int int int FAR struct itimerval *
46 getpeername sys/socket.h defined(CONFIG_NET) int int int FAR struct sockaddr * FAR socklen_t *
47 getpid unistd.h pid_t
48 getppid unistd.h defined(CONFIG_SCHED_HAVE_PARENT) pid_t
49 getrandom sys/random.h ssize_t FAR void * size_t unsigned int
50 getsockname sys/socket.h defined(CONFIG_NET) int int int FAR struct sockaddr * FAR socklen_t *
51 getsockopt sys/socket.h defined(CONFIG_NET) int int int int
52 gettid unistd.h pid_t
53 gettimeofday sys/time.h int FAR struct timeval * FAR struct timezone *
54 getuid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) uid_t
55 insmod nuttx/module.h defined(CONFIG_MODULE) FAR void * FAR const char * FAR const char *
56 ioctl sys/ioctl.h int int int ...
77 mq_timedsend mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int mqd_t mqd_t FAR const char * size_t
78 mq_unlink mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int FAR const char *
79 munmap sys/mman.h int FAR void * FAR void * size_t
80 nanosleep time.h int FAR const struct timespec * FAR struct timespec *
81 nx_mkfifo nuttx/fs/fs.h defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0 int FAR const char * FAR const char * mode_t size_t
82 nx_pthread_create nuttx/pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_trampoline_t pthread_trampoline_t FAR pthread_t * FAR const pthread_attr_t *
83 nx_pthread_exit nuttx/pthread.h !defined(CONFIG_DISABLE_PTHREAD) noreturn pthread_addr_t
121 rename stdio.h int FAR const char * FAR const char *
122 rmdir unistd.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char*
123 rmmod nuttx/module.h defined(CONFIG_MODULE) int FAR void *
124 sched_backtrace sched.h defined(CONFIG_SCHED_BACKTRACE) int pid_t FAR void ** int
125 sched_getaffinity sched.h defined(CONFIG_SMP) int pid_t pid_t size_t FAR cpu_set_t *
126 sched_getcpu sched.h defined(CONFIG_SMP) int
127 sched_getparam sched.h int pid_t pid_t FAR struct sched_param *
134 sched_setscheduler sched.h int pid_t pid_t int const struct sched_param *
135 sched_unlock sched.h int
136 sched_yield sched.h int
sched_backtrace sched.h defined(CONFIG_SCHED_BACKTRACE) int pid_t
137 select sys/select.h int int int FAR fd_set * FAR fd_set *
138 sem_clockwait semaphore.h int FAR sem_t * FAR sem_t * clockid_t FAR const struct timespec *
139 sem_close semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR sem_t *
149 sendfile sys/sendfile.h ssize_t int int FAR off_t *
150 sendmsg sys/socket.h defined(CONFIG_NET) ssize_t int int FAR struct msghdr * int
151 sendto sys/socket.h defined(CONFIG_NET) ssize_t int int FAR const void * size_t
152 setegid unistd.h int gid_t
153 setenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) int FAR const char * FAR const char * int
154 seteuid unistd.h int uid_t
155 setgid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) int gid_t
156 sethostname unistd.h int FAR const char * FAR const char * size_t
157 setitimer sys/time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int int int FAR const struct itimerval * FAR struct itimerval *
158 setsockopt sys/socket.h defined(CONFIG_NET) int int int int
159 settimeofday sys/time.h int FAR const struct timeval * FAR const struct timezone *
160 setuid unistd.h defined(CONFIG_SCHED_USER_IDENTITY) int uid_t
161 shm_open sys/mman.h defined(CONFIG_FS_SHMFS) int FAR const char * FAR const char * int mode_t
162 shm_unlink sys/mman.h defined(CONFIG_FS_SHMFS) int FAR const char *
166 shmget sys/shm.h defined(CONFIG_MM_SHM) int key_t key_t size_t int
167 shutdown sys/socket.h defined(CONFIG_NET) int int int
168 sigaction signal.h int int int FAR const struct sigaction * FAR struct sigaction *
169 signal signal.h _sa_handler_t int _sa_handler_t
170 signalfd sys/signalfd.h defined(CONFIG_SIGNAL_FD) int int FAR const sigset_t * int
171 sigpending signal.h int FAR sigset_t *
172 sigprocmask signal.h int int int FAR const sigset_t * FAR sigset_t *
173 sigqueue signal.h int int int union sigval|FAR void *|sival_ptr
190 task_testcancel sched.h defined(CONFIG_CANCELLATION_POINTS) void
191 task_tls_alloc nuttx/tls.h CONFIG_TLS_TASK_NELEM > 0 int tls_dtor_t
192 tgkill signal.h int pid_t pid_t int
193 time time.h time_t FAR time_t *
194 timer_create time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int clockid_t clockid_t FAR struct sigevent * FAR timer_t *
195 timer_delete time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int timer_t
196 timer_getoverrun time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int timer_t
198 timer_settime time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int timer_t timer_t int FAR const struct itimerspec *
199 timerfd_create sys/timerfd.h defined(CONFIG_TIMER_FD) int int int
200 timerfd_gettime sys/timerfd.h defined(CONFIG_TIMER_FD) int int int FAR struct itimerspec *
201 timerfd_settime sys/timerfd.h defined(CONFIG_TIMER_FD) int int int FAR const struct itimerspec *
202 umount2 sys/mount.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char * FAR const char * unsigned int
203 unlink unistd.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char *
204 unsetenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) int FAR const char *