Add syscall support for fstatfs.

This commit is contained in:
Gregory Nutt
2017-02-17 08:46:07 -06:00
parent 656935ed7e
commit 74160ccc4e
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -24,6 +24,7 @@
"fs_fdopen","nuttx/fs/fs.h","CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0","FAR struct file_struct*","int","int","FAR struct tcb_s*"
"fs_ioctl","nuttx/fs/fs.h","defined(CONFIG_LIBC_IOCTL_VARIADIC) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0)","int","int","int","unsigned long"
"fstat","sys/stat.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","FAR struct stat*"
"fstatfs","sys/statfs.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","FAR struct statfs*"
"fsync","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT)","int","int"
"get_errno","errno.h","!defined(__DIRECT_ERRNO_ACCESS)","int"
"get_errno_ptr","errno.h","defined(__DIRECT_ERRNO_ACCESS)","FAR int*"
1 _exit unistd.h void int
24 fs_fdopen nuttx/fs/fs.h CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0 FAR struct file_struct* int
25 fs_ioctl nuttx/fs/fs.h defined(CONFIG_LIBC_IOCTL_VARIADIC) && (CONFIG_NSOCKET_DESCRIPTORS > 0 || CONFIG_NFILE_DESCRIPTORS > 0) int int
26 fstat sys/stat.h CONFIG_NFILE_DESCRIPTORS > 0 int int
27 fstatfs sys/statfs.h CONFIG_NFILE_DESCRIPTORS > 0 int int
28 fsync unistd.h CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) int int
29 get_errno errno.h !defined(__DIRECT_ERRNO_ACCESS) int
30 get_errno_ptr errno.h defined(__DIRECT_ERRNO_ACCESS) FAR int*