Files
nuttx/syscall/syscall.csv
T
Gregory Nutt 154a87993f fs/vfs/fd_open.c: fs_fdopen() must not set errno
Functions within the OS must never set the errno value.  fs_fdopen() was setting the errno value.  Now, after some parameter changes, it reports errors via a negated errno integer return value as do most all other internal OS functions.
2020-05-23 15:22:09 +08:00

16 KiB

1_exitunistd.hvoidint
2acceptsys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
3adjtimesys/time.hdefined(CONFIG_CLOCK_TIMEKEEPING)intFAR const struct timeval *FAR struct timeval *
4aio_cancelaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
5aio_fsyncaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
6aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
7aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
8atexitstdlib.hdefined(CONFIG_SCHED_ATEXIT)intvoid (*)(void)
9bindsys/socket.hdefined(CONFIG_NET)intintFAR const struct sockaddr *socklen_t
10boardctlsys/boardctl.hdefined(CONFIG_LIB_BOARDCTL)intunsigned intuintptr_t
11clearenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)int
12clocktime.hclock_t
13clock_getrestime.hintclockid_tFAR struct timespec *
14clock_gettimetime.hintclockid_tFAR struct timespec *
15clock_nanosleeptime.hintclockid_tintFAR const struct timespec *FAR struct timespec *
16clock_settimetime.hintclockid_tconst struct timespec*
17closeunistd.hintint
18closedirdirent.hintFAR DIR *
19connectsys/socket.hdefined(CONFIG_NET)intintFAR const struct sockaddr *socklen_t
20dupunistd.hintint
21dup2unistd.hintintint
22execnuttx/binfmt/binfmt.h!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)intFAR const char *FAR char * const *FAR const struct symtab_s *int
23execvunistd.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)intFAR const char *FAR char * const []|FAR char * const *
24exitstdlib.hvoidint
25fcntlfcntl.hintintint...int
26fs_fdopennuttx/fs/fs.hCONFIG_NFILE_STREAMS > 0intintintFAR struct tcb_s *FAR struct file_struct **
27fstatsys/stat.hintintFAR struct stat *
28fstatfssys/statfs.hintintFAR struct statfs *
29fsyncunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intint
30ftruncateunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intintoff_t
31getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char *FAR const char *
32getgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)gid_t
33getitimersys/time.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intintFAR struct itimerval *
34getpeernamesys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
35getpidunistd.hpid_t
36getrandomsys/random.hdefined(CONFIG_CRYPTO_RANDOM_POOL)voidFAR void *size_t
37getsocknamesys/socket.hdefined(CONFIG_NET)intintFAR struct sockaddr *FAR socklen_t *
38getsockoptsys/socket.hdefined(CONFIG_NET)intintintintFAR void *FAR socklen_t *
39getuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)uid_t
40if_indextonamenet/if.hdefined(CONFIG_NETDEV_IFINDEX)FAR char *unsigned intFAR char *
41if_nametoindexnet/if.hdefined(CONFIG_NETDEV_IFINDEX)unsigned intFAR const char *
42insmodnuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *FAR const char *
43ioctlsys/ioctl.hintintint...unsigned long
44killsignal.hintpid_tint
45linkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)intFAR const char *FAR const char *
46listensys/socket.hdefined(CONFIG_NET)intintint
47lseekunistd.hoff_tintoff_tint
48mkdirsys/stat.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *mode_t
49mmapsys/mman.hFAR void *FAR void *size_tintintintoff_t
50modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
51mountsys/mount.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *FAR const char *FAR const char *unsigned longFAR const void *
52mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
53mq_getattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR struct mq_attr *
54mq_notifymqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const struct sigevent *
55mq_openmqueue.h!defined(CONFIG_DISABLE_MQUEUE)mqd_tFAR const char *int...mode_tFAR struct mq_attr *
56mq_receivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *
57mq_sendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned int
58mq_setattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const struct mq_attr *FAR struct mq_attr *
59mq_timedreceivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tFAR char *size_tFAR unsigned int *FAR const struct timespec *
60mq_timedsendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tFAR const char *size_tunsigned intFAR const struct timespec *
61mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intFAR const char *
62munmapsys/mman.hdefined(CONFIG_FS_RAMMAP)intFAR void *size_t
63nx_mkfifonuttx/drivers/drivers.hdefined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0intFAR const char *mode_tsize_t
64nx_pipenuttx/drivers/drivers.hdefined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0intint [2]|FAR int *size_t
65nx_task_spawnnuttx/spawn.hdefined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL)intFAR const struct spawn_syscall_parms_s *
66nx_vsyslognuttx/syslog/syslog.hintintFAR const IPTR char *FAR va_list *
67on_exitstdlib.hdefined(CONFIG_SCHED_ONEXIT)intCODE void (*)(int, FAR void *)FAR void *
68openfcntl.hintFAR const char *int...mode_t
69opendirdirent.hFAR DIR *FAR const char *
70pgallocnuttx/arch.hdefined(CONFIG_BUILD_KERNEL)uintptr_tuintptr_tunsigned int
71pollpoll.hintFAR struct pollfd *nfds_tint
72posix_spawnspawn.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && !defined(CONFIG_LIB_ENVPATH)intFAR pid_t *FAR const char *FAR const posix_spawn_file_actions_t *FAR const posix_spawnattr_t *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
73posix_spawnpspawn.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && defined(CONFIG_LIB_ENVPATH)intFAR pid_t *FAR const char *FAR const posix_spawn_file_actions_t *FAR const posix_spawnattr_t *FAR char * const []|FAR char * const *FAR char * const []|FAR char * const *
74ppollpoll.hintFAR struct pollfd *nfds_tFAR const struct timespec *FAR const sigset_t *
75prctlsys/prctl.hCONFIG_TASK_NAME_SIZE > 0intint...uintptr_t
76preadunistd.hssize_tintFAR void *size_toff_t
77pselectsys/select.hintintFAR fd_set *FAR fd_set *FAR fd_set *FAR const struct timespec *FAR const sigset_t *
78pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
79pthread_cleanup_poppthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidint
80pthread_cleanup_pushpthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidpthread_cleanup_tFAR void *
81pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
82pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
83pthread_cond_timedwaitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *FAR const struct timespec *
84pthread_cond_waitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *FAR pthread_mutex_t *
85pthread_createpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_t *FAR const pthread_attr_t *pthread_startroutine_tpthread_addr_t
86pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
87pthread_exitpthread.h!defined(CONFIG_DISABLE_PTHREAD)voidpthread_addr_t
88pthread_getaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR cpu_set_t*
89pthread_getschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR int *FAR struct sched_param *
90pthread_joinpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR pthread_addr_t *
91pthread_killpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
92pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
93pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
94pthread_mutex_initpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *FAR const pthread_mutexattr_t *
95pthread_mutex_timedlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *FAR const struct timespec *
96pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
97pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
98pthread_setaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR const cpu_set_t *
99pthread_setschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tintFAR const struct sched_param *
100pthread_setschedpriopthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
101pthread_sigmaskpthread.h!defined(CONFIG_DISABLE_PTHREAD)intintFAR const sigset_t *FAR sigset_t *
102putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
103pwriteunistd.hssize_tintFAR const void *size_toff_t
104readunistd.hssize_tintFAR void *size_t
105readdirdirent.hFAR struct dirent *FAR DIR *
106readlinkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)ssize_tFAR const char *FAR char *size_t
107recvsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void *size_tint
108recvfromsys/socket.hdefined(CONFIG_NET)ssize_tintFAR void*size_tintFAR struct sockaddr*FAR socklen_t*
109renamestdio.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *FAR const char *
110rewinddirdirent.hvoidFAR DIR *
111rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
112rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
113sched_getaffinitysched.hdefined(CONFIG_SMP)intpid_tsize_tFAR cpu_set_t *
114sched_getcpusched.hdefined(CONFIG_SMP)int
115sched_getparamsched.hintpid_tFAR struct sched_param *
116sched_getschedulersched.hintpid_t
117nxsched_get_stackinfonuttx/sched.hintpid_tFAR struct stackinfo_s *
118nxsched_get_streamsnuttx/sched.hCONFIG_NFILE_STREAMS > 0FAR struct streamlist *
119sched_locksched.hint
120sched_lockcountsched.hint
121sched_rr_get_intervalsched.hintpid_tstruct timespec *
122sched_setaffinitysched.hdefined(CONFIG_SMP)intpid_tsize_tFAR const cpu_set_t*
123sched_setparamsched.hintpid_tconst struct sched_param *
124sched_setschedulersched.hintpid_tintconst struct sched_param *
125sched_unlocksched.hint
126sched_yieldsched.hint
127seekdirdirent.hvoidFAR DIR *off_t
128selectsys/select.hintintFAR fd_set *FAR fd_set *FAR fd_set *FAR struct timeval *
129sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
130sem_destroysemaphore.hintFAR sem_t *
131sem_opensemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)FAR sem_t *FAR const char *int...mode_tunsigned int
132sem_postsemaphore.hintFAR sem_t *
133sem_setprotocolnuttx/semaphore.hdefined(CONFIG_PRIORITY_INHERITANCE)intFAR sem_t *int
134sem_timedwaitsemaphore.hintFAR sem_t *FAR const struct timespec *
135sem_trywaitsemaphore.hintFAR sem_t *
136sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
137sem_waitsemaphore.hintFAR sem_t *
138sendsys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tint
139sendfilesys/sendfile.hdefined(CONFIG_NET_SENDFILE)ssize_tintintFAR off_t *size_t
140sendtosys/socket.hdefined(CONFIG_NET)ssize_tintFAR const void *size_tintFAR const struct sockaddr *socklen_t
141setenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *FAR const char *int
142setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
143sethostnameunistd.hintFAR const char *size_t
144setitimersys/time.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intintFAR const struct itimerval *FAR struct itimerval *
145setsockoptsys/socket.hdefined(CONFIG_NET)intintintintFAR const void *socklen_t
146setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
147shmatsys/shm.hdefined(CONFIG_MM_SHM)FAR void *intFAR const void *int
148shmctlsys/shm.hdefined(CONFIG_MM_SHM)intintintFAR struct shmid_ds *
149shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
150shmgetsys/shm.hdefined(CONFIG_MM_SHM)intkey_tsize_tint
151sigactionsignal.hintintFAR const struct sigaction *FAR struct sigaction *
152sigpendingsignal.hintFAR sigset_t *
153sigprocmasksignal.hintintFAR const sigset_t *FAR sigset_t *
154sigqueuesignal.hintintintunion sigval|FAR void *|sival_ptr
155sigsuspendsignal.hintFAR const sigset_t *
156sigtimedwaitsignal.hintFAR const sigset_t *FAR struct siginfo *FAR const struct timespec *
157sigwaitinfosignal.hintFAR const sigset_t *FAR struct siginfo *
158socketsys/socket.hdefined(CONFIG_NET)intintintint
159statsys/stat.hintFAR const char *FAR struct stat *
160statfssys/statfs.hintFAR const char *FAR struct statfs *
161task_createsched.h!defined(CONFIG_BUILD_KERNEL)intFAR const char *intintmain_tFAR char * const []|FAR char * const *
162task_deletesched.hintpid_t
163task_restartsched.hintpid_t
164task_setcancelstatesched.hintintFAR int *
165task_setcanceltypesched.hdefined(CONFIG_CANCELLATION_POINTS)intintFAR int *
166task_testcancelpthread.hdefined(CONFIG_CANCELLATION_POINTS)void
167tcdraintermios.hdefined(CONFIG_SERIAL_TERMIOS)intint
168telldirdirent.hoff_tFAR DIR *
169timer_createtime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intclockid_tFAR struct sigevent *FAR timer_t *
170timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
171timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
172timer_gettimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tFAR struct itimerspec *
173timer_settimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tintFAR const struct itimerspec *FAR struct itimerspec *
174tls_allocnuttx/tls.hCONFIG_TLS_NELEM > 0int
175tls_freenuttx/tls.hCONFIG_TLS_NELEM > 0intint
176umount2sys/mount.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *unsigned int
177unamesys/utsname.hintFAR struct utsname *
178unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *
179unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
180up_assertassert.hvoidFAR const uint8_t *int
181vforkunistd.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_ARCH_HAVE_VFORK)pid_t
182waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tFAR int *
183waitidsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)intidtype_tid_t FAR siginfo_t *int
184waitpidsys/wait.hdefined(CONFIG_SCHED_WAITPID)pid_tpid_tFAR int *int
185writeunistd.hssize_tintFAR const void *size_t