Files
nuttx/syscall/syscall.csv
T
Gregory Nutt e4652bd3dc Squashed commit of the following:
fs: Add truncate() support for userfs
    fs/unionfs:  Add truncate() support to the unionfs
    fs/tmpfs:  Add ftruncate() support to tmpfs
    syscall/: Add system call support for ftruncate()
    net/route:  Adding ftruncate() support eliminates an issue in file-based routing table management.
    fs:  Add basic framework to support truncate() and ftruncate().  The infrastructure is complete.  Now, however, the actual implementation of ftruncate() will have to be done for each file system.
2018-01-03 16:03:56 -06:00

17 KiB

1_exitunistd.hvoidint
2adjtimesys/time.hdefined(CONFIG_CLOCK_TIMEKEEPING)intFAR const struct timeval *FAR struct timeval *
3aio_cancelaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
4aio_fsyncaio.hdefined(CONFIG_FS_AIO)intintFAR struct aiocb *
5aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
6aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
7acceptsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintstruct sockaddr*socklen_t*
8atexitstdlib.hdefined(CONFIG_SCHED_ATEXIT)intvoid (*)(void)
9bindsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintFAR const struct sockaddr*socklen_t
10boardctlsys/boardctl.hdefined(CONFIG_LIB_BOARDCTL)intunsigned intuintptr_t
11clearenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)int
12clock_getrestime.hintclockid_tstruct timespec*
13clock_gettimetime.hintclockid_tstruct timespec*
14clock_nanosleeptime.h!defined(CONFIG_DISABLE_SIGNALS)intclockid_tintFAR const struct timespec *FAR struct timespec*
15clock_settimetime.hintclockid_tconst struct timespec*
16clock_systimernuttx/clock.h!defined(__HAVE_KERNEL_GLOBALS)systime_t
17closeunistd.hCONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0intint
18closedirdirent.hCONFIG_NFILE_DESCRIPTORS > 0intFAR DIR*
19connectsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintFAR const struct sockaddr*socklen_t
20dupunistd.hCONFIG_NFILE_DESCRIPTORS > 0intint
21dup2unistd.hCONFIG_NFILE_DESCRIPTORS > 0intintint
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.hCONFIG_NFILE_DESCRIPTORS > 0intintint...
26fs_fdopennuttx/fs/fs.hCONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0FAR struct file_struct*intintFAR struct tcb_s*
27fs_ioctlnuttx/fs/fs.hdefined(CONFIG_LIBC_IOCTL_VARIADIC) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)intintintunsigned long
28fstatsys/stat.hCONFIG_NFILE_DESCRIPTORS > 0intintFAR struct stat*
29fstatfssys/statfs.hCONFIG_NFILE_DESCRIPTORS > 0intintFAR struct statfs*
30fsyncunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intint
31ftruncateunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intintoff_t
32get_errnoerrno.h!defined(__DIRECT_ERRNO_ACCESS)int
33get_errno_ptrerrno.hdefined(__DIRECT_ERRNO_ACCESS)FAR int*
34getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char*FAR const char*
35getpidunistd.hpid_t
36getrandomsys/random.hdefined(CONFIG_CRYPTO_RANDOM_POOL)voidFAR void*size_t
37getsockoptsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintintintFAR void*FAR socklen_t*
38insmodnuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *FAR const char *
39ioctlsys/ioctl.h!defined(CONFIG_LIBC_IOCTL_VARIADIC) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)intintintunsigned long
40killsignal.h!defined(CONFIG_DISABLE_SIGNALS)intpid_tint
41linkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)intFAR const char *FAR const char *
42listensys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintint
43lseekunistd.hCONFIG_NFILE_DESCRIPTORS > 0off_tintoff_tint
44mkdirsys/stat.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*mode_t
45mkfifo2nuttx/drivers/drivers.hdefined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0intFAR const char*mode_tsize_t
46mmapsys/mman.hCONFIG_NFILE_DESCRIPTORS > 0FAR void*FAR void*size_tintintintoff_t
47modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
48mountsys/mount.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_READABLE)intconst char*const char*const char*unsigned longconst void*
49mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
50mq_getattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tstruct mq_attr *
51mq_notifymqueue.h!defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_MQUEUE)intmqd_tconst struct sigevent*
52mq_openmqueue.h!defined(CONFIG_DISABLE_MQUEUE)mqd_tconst char*int...
53mq_receivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tchar*size_tint*
54mq_sendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tconst char*size_tint
55mq_setattrmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tconst struct mq_attr *struct mq_attr *
56mq_timedreceivemqueue.h!defined(CONFIG_DISABLE_MQUEUE)ssize_tmqd_tchar*size_tint*const struct timespec*
57mq_timedsendmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_tconst char*size_tintconst struct timespec*
58mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intconst char*
59on_exitstdlib.hdefined(CONFIG_SCHED_ONEXIT)intCODE void (*)(int, FAR void *)FAR void *
60openfcntl.hCONFIG_NFILE_DESCRIPTORS > 0intconst char*int...
61opendirdirent.hCONFIG_NFILE_DESCRIPTORS > 0FAR DIR*FAR const char*
62pgallocnuttx/arch.hdefined(CONFIG_BUILD_KERNEL)uintptr_tuintptr_tunsigned int
63pipe2nuttx/drivers/drivers.hdefined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0intint [2]|int*size_t
64pollpoll.h!defined(CONFIG_DISABLE_POLL) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)intFAR struct pollfd*nfds_tint
65prctlsys/prctl.hCONFIG_TASK_NAME_SIZE > 0intint...
66preadunistd.hCONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0ssize_tintFAR void*size_toff_t
67pwriteunistd.hCONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0ssize_tintFAR const void*size_toff_t
68posix_spawnpspawn.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && defined(CONFIG_BINFMT_EXEPATH)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 []
69posix_spawnspawn.h!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) && !defined(CONFIG_BINFMT_EXEPATH)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 *
70pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
71pthread_cleanup_poppthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidint
72pthread_cleanup_pushpthread.hdefined(CONFIG_PTHREAD_CLEANUP)voidpthread_cleanup_tFAR void*
73pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
74pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*
75pthread_cond_timedwaitpthread.h!defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*FAR pthread_mutex_t*FAR const struct timespec*
76pthread_cond_waitpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t*FAR pthread_mutex_t*
77pthread_createpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_t*FAR const pthread_attr_t*pthread_startroutine_tpthread_addr_t
78pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
79pthread_exitpthread.h!defined(CONFIG_DISABLE_PTHREAD)voidpthread_addr_t
80pthread_getaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR cpu_set_t*
81pthread_getschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR int*FAR struct sched_param*
82pthread_getspecificpthread.h!defined(CONFIG_DISABLE_PTHREAD)FAR void*pthread_key_t
83pthread_joinpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tFAR pthread_addr_t*
84pthread_key_createpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_key_t*CODE void (*)(FAR void*)
85pthread_key_deletepthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_key_t
86pthread_killpthread.h!defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
87pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
88pthread_mutex_initpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*FAR const pthread_mutexattr_t*
89pthread_mutex_lockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
90pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
91pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t*
92pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t*
93pthread_setaffinity_nppthread.h!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)intpthread_tsize_tFAR const cpu_set_t*
94pthread_setschedparampthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tintFAR const struct sched_param*
95pthread_setschedpriopthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_tint
96pthread_setspecificpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_key_tFAR const void*
97pthread_sigmaskpthread.h!defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_PTHREAD)intintFAR const sigset_t*FAR sigset_t*
98putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char*
99readunistd.hCONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0ssize_tintFAR void*size_t
100readdirdirent.hCONFIG_NFILE_DESCRIPTORS > 0FAR struct dirent*FAR DIR*
101readlinkunistd.hdefined(CONFIG_PSEUDOFS_SOFTLINKS)ssize_tFAR const char *FAR char *size_t
102recvsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)ssize_tintFAR void*size_tint
103recvfromsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)ssize_tintFAR void*size_tintFAR struct sockaddr*FAR socklen_t*
104renamestdio.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*FAR const char*
105rewinddirdirent.hCONFIG_NFILE_DESCRIPTORS > 0voidFAR DIR*
106rmdirunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
107rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
108sched_getparamsched.hintpid_tstruct sched_param*
109sched_getschedulersched.hintpid_t
110sched_getstreamsnuttx/sched.hCONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0FAR struct streamlist*
111sched_locksched.hint
112sched_lockcountsched.hint32_t
113sched_rr_get_intervalsched.hintpid_tstruct timespec*
114sched_setparamsched.hintpid_tconst struct sched_param*
115sched_setschedulersched.hintpid_tintconst struct sched_param*
116sched_unlocksched.hint
117sched_yieldsched.hint
118seekdirdirent.hCONFIG_NFILE_DESCRIPTORS > 0voidFAR DIR*off_t
119selectsys/select.h!defined(CONFIG_DISABLE_POLL) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)intintFAR fd_set*FAR fd_set*FAR fd_set*FAR struct timeval*
120sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t*
121sem_destroysemaphore.hintFAR sem_t*
122sem_opensemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)FAR sem_t*FAR const char*int...
123sem_postsemaphore.hintFAR sem_t*
124sem_setprotocolnuttx/semaphore.hdefined(CONFIG_PRIORITY_INHERITANCE)intFAR sem_t*int
125sem_timedwaitsemaphore.hintFAR sem_t*FAR const struct timespec *
126sem_trywaitsemaphore.hintFAR sem_t*
127sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char*
128sem_waitsemaphore.hintFAR sem_t*
129sendsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)ssize_tintFAR const void*size_tint
130sendfilesys/sendfile.hCONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_NET_SENDFILE)ssize_tintintFAR off_t*size_t
131sendtosys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)ssize_tintFAR const void*size_tintFAR const struct sockaddr*socklen_t
132set_errnoerrno.h!defined(__DIRECT_ERRNO_ACCESS)voidint
133setenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char*FAR const char*int
134sethostnameunistd.hdefined(CONFIG_LIBC_NETDB)intFAR const char*size_t
135setsockoptsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintintintFAR const void*socklen_t
136shmatsys/shm.hdefined(CONFIG_MM_SHM)FAR void *intFAR const void *int
137shmctlsys/shm.hdefined(CONFIG_MM_SHM)intintintFAR struct shmid_ds *
138shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
139shmgetsys/shm.hdefined(CONFIG_MM_SHM)intkey_tsize_tint
140sigactionsignal.h!defined(CONFIG_DISABLE_SIGNALS)intintFAR const struct sigaction*FAR struct sigaction*
141sigpendingsignal.h!defined(CONFIG_DISABLE_SIGNALS)intFAR sigset_t*
142sigprocmasksignal.h!defined(CONFIG_DISABLE_SIGNALS)intintFAR const sigset_t*FAR sigset_t*
143sigqueuesignal.h!defined(CONFIG_DISABLE_SIGNALS)intintintunion sigval|FAR void *|sival_ptr
144sigsuspendsignal.h!defined(CONFIG_DISABLE_SIGNALS)intFAR const sigset_t*
145sigtimedwaitsignal.h!defined(CONFIG_DISABLE_SIGNALS)intFAR const sigset_t*FAR struct siginfo*FAR const struct timespec*
146sigwaitinfosignal.h!defined(CONFIG_DISABLE_SIGNALS)intFAR const sigset_t*FAR struct siginfo*
147socketsys/socket.hCONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)intintintint
148statsys/stat.hCONFIG_NFILE_DESCRIPTORS > 0intconst char*FAR struct stat*
149statfssys/statfs.hCONFIG_NFILE_DESCRIPTORS > 0intFAR const char*FAR struct statfs*
150task_createsched.h!defined(CONFIG_BUILD_KERNEL)intFAR const char*intintmain_tFAR char * const []|FAR char * const *
151task_deletesched.hintpid_t
152task_restartsched.hintpid_t
153task_setcancelstatesched.hintintFAR int*
154task_setcanceltypesched.hdefined(CONFIG_CANCELLATION_POINTS)intintFAR int*
155task_testcancelpthread.hdefined(CONFIG_CANCELLATION_POINTS)void
156tcdraintermios.hdefined(CONFIG_SERIAL_TERMIOS)intint
157telldirdirent.hCONFIG_NFILE_DESCRIPTORS > 0off_tFAR DIR*
158timer_createtime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)intclockid_tFAR struct sigevent*FAR timer_t*
159timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
160timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
161timer_gettimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tFAR struct itimerspec*
162timer_settimetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_tintFAR const struct itimerspec*FAR struct itimerspec*
163umount2sys/mount.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*unsigned int
164unamesys/utsname.hintFAR struct utsname*
165unlinkunistd.hCONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
166unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intconst char*
167up_assertassert.hvoidFAR const uint8_t*int
168vforkunistd.hdefined(CONFIG_ARCH_HAVE_VFORK)pid_t
169_vsyslognuttx/syslog/syslog.hintintFAR const IPTR char*FAR va_list*
170waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tint*
171waitidsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)intidtype_tid_t FAR siginfo_t *int
172waitpidsys/wait.hdefined(CONFIG_SCHED_WAITPID)pid_tpid_tint*int
173writeunistd.hCONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0ssize_tintFAR const void*size_t