e4652bd3dc
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.
17 KiB
17 KiB
1 | _exit | unistd.h | void | int | |
---|---|---|---|---|---|
2 | aio_read | aio.h | defined(CONFIG_FS_AIO) | int | FAR struct aiocb * |
3 | aio_write | aio.h | defined(CONFIG_FS_AIO) | int | FAR struct aiocb * |
4 | atexit | stdlib.h | defined(CONFIG_SCHED_ATEXIT) | int | void (*)(void) |
5 | close | unistd.h | CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0 | int | int |
6 | closedir | dirent.h | CONFIG_NFILE_DESCRIPTORS > 0 | int | FAR DIR* |
7 | dup | unistd.h | CONFIG_NFILE_DESCRIPTORS > 0 | int | int |
8 | exit | stdlib.h | void | int | |
9 | fsync | unistd.h | CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) | int | int |
10 | getenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | FAR char* | FAR const char* |
11 | modhandle | nuttx/module.h | defined(CONFIG_MODULE) | FAR void * | FAR const char * |
12 | mq_close | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | mqd_t |
13 | mq_unlink | mqueue.h | !defined(CONFIG_DISABLE_MQUEUE) | int | const char* |
14 | opendir | dirent.h | CONFIG_NFILE_DESCRIPTORS > 0 | FAR DIR* | FAR const char* |
15 | pthread_cancel | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_t |
16 | pthread_cleanup_pop | pthread.h | defined(CONFIG_PTHREAD_CLEANUP) | void | int |
17 | pthread_cond_broadcast | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t* |
18 | pthread_cond_signal | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_cond_t* |
19 | pthread_detach | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_t |
20 | pthread_exit | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | void | pthread_addr_t |
21 | pthread_getspecific | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | FAR void* | pthread_key_t |
22 | pthread_key_delete | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | pthread_key_t |
23 | pthread_mutex_destroy | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
24 | pthread_mutex_lock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
25 | pthread_mutex_trylock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
26 | pthread_mutex_unlock | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) | int | FAR pthread_mutex_t* |
27 | pthread_mutex_consistent | pthread.h | !defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE) | int | FAR pthread_mutex_t* |
28 | putenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | int | FAR const char* |
29 | readdir | dirent.h | CONFIG_NFILE_DESCRIPTORS > 0 | FAR struct dirent* | FAR DIR* |
30 | rewinddir | dirent.h | CONFIG_NFILE_DESCRIPTORS > 0 | void | FAR DIR* |
31 | rmdir | unistd.h | CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) | int | FAR const char* |
32 | rmmod | nuttx/module.h | defined(CONFIG_MODULE) | int | FAR void * |
33 | sched_getscheduler | sched.h | int | pid_t | |
34 | sem_close | semaphore.h | defined(CONFIG_FS_NAMED_SEMAPHORES) | int | FAR sem_t* |
35 | sem_destroy | semaphore.h | int | FAR sem_t* | |
36 | sem_post | semaphore.h | int | FAR sem_t* | |
37 | sem_trywait | semaphore.h | int | FAR sem_t* | |
38 | sem_unlink | semaphore.h | defined(CONFIG_FS_NAMED_SEMAPHORES) | int | FAR const char* |
39 | sem_wait | semaphore.h | int | FAR sem_t* | |
40 | set_errno | errno.h | !defined(__DIRECT_ERRNO_ACCESS) | void | int |
41 | shmdt | sys/shm.h | defined(CONFIG_MM_SHM) | int | FAR const void * |
42 | sigpending | signal.h | !defined(CONFIG_DISABLE_SIGNALS) | int | FAR sigset_t* |
43 | sigsuspend | signal.h | !defined(CONFIG_DISABLE_SIGNALS) | int | FAR const sigset_t* |
44 | task_delete | sched.h | int | pid_t | |
45 | task_restart | sched.h | int | pid_t | |
46 | tcdrain | termios.h | defined(CONFIG_SERIAL_TERMIOS) | int | int |
47 | telldir | dirent.h | CONFIG_NFILE_DESCRIPTORS > 0 | off_t | FAR DIR* |
48 | timer_delete | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t |
49 | timer_getoverrun | time.h | !defined(CONFIG_DISABLE_POSIX_TIMERS) | int | timer_t |
50 | uname | sys/utsname.h | int | FAR struct utsname* | |
51 | unlink | unistd.h | CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) | int | FAR const char* |
52 | unsetenv | stdlib.h | !defined(CONFIG_DISABLE_ENVIRON) | int | const char* |
53 | wait | sys/wait.h | defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT) | pid_t | int* |