fstat(): Add syscall support

This commit is contained in:
Gregory Nutt
2017-02-14 10:44:01 -06:00
parent ef8d207118
commit e7404280e8
4 changed files with 12 additions and 8 deletions
+1
View File
@@ -23,6 +23,7 @@
"fcntl","fcntl.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","int","..."
"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*"
"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
23 fcntl fcntl.h CONFIG_NFILE_DESCRIPTORS > 0 int 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 fsync unistd.h CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_DISABLE_MOUNTPOINT) int int
28 get_errno errno.h !defined(__DIRECT_ERRNO_ACCESS) int
29 get_errno_ptr errno.h defined(__DIRECT_ERRNO_ACCESS) FAR int*