nuttx/include/sys
Gregory Nutt 1c002e1049 fs/vfs/fs_fstat: Correct fstat() for proxied block and MTD drivers.
Block and MTD drivers may be opened and managed as though they were character drivers.  But this is really sleight of hand; there is a hidden character driver proxy that mediates the interface to the block and MTD drivers in this case.

fstat(), however, did not account for this.  It would report the characteristics of the proxy character driver, not of the underlying block or MTD driver.

This change corrects that.  fstat now checks if the character driver is such a proxy and, if so, reports the characteristics of the underlying block or MTD driver, not the proxy character driver.
2020-05-28 17:34:09 +01:00
..
boardctl.h Fix typos 2020-05-14 10:49:44 -06:00
custom_file.h Standardize some header files 2015-02-16 14:29:43 -06:00
epoll.h Fix names of pre-processor variables used in header file idempotence 2016-08-06 19:21:42 -06:00
file.h inclue/sys/file.h: Dummy header for POSIX compliance 2020-02-19 11:48:49 -06:00
ioctl.h fs: Remove all LIBC_IOCTL_VARIADIC related stuff 2020-05-05 08:27:58 -06:00
ipc.h Standardize some header files 2015-02-16 14:29:43 -06:00
mman.h A little more progress toward the implementation of per-window framebuffers. Still missing: 2019-03-14 11:20:14 -06:00
mount.h fs: Add nx_mount/nx_umount2 function 2020-05-08 07:20:49 -06:00
param.h include/sys/param.h: Add a dummy sys/param.h header file. This is not a standard file but is used by other systems and having the dummy file may minimize some porting efforts. 2018-08-19 08:24:30 -06:00
prctl.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
random.h Standardization of some function headers. 2018-03-13 09:52:27 -06:00
resource.h Fix typographical error in endian.h and resource.h 2018-11-09 09:05:48 -06:00
select.h include/sys/select.h: Fix compiler error when CONFIG_NSOCKET_DESCRIPTORS is undefined. 2019-03-26 09:20:23 -06:00
sendfile.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
shm.h Standardize some header files 2015-02-16 14:29:43 -06:00
socket.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
sockio.h include/sys/sockio.h, net/netdev/netdev_ioctl.c: Fix a compile error introducted with commit 34db6d1433. That commit added the semi-standard ip_msfilter structure to netinet/in.h. Howver, there was a non-standard version of that structure in sys/sockio.h. This commit removes the non-standard version of struct ip_msfilter and adapts the IOCTL and device lookup logic in net/netdev to work with the new, semi-standard version in netinet/in.h. 2018-10-29 06:50:47 -06:00
stat.h fs/vfs/fs_fstat: Correct fstat() for proxied block and MTD drivers. 2020-05-28 17:34:09 +01:00
statfs.h Addes the ARM mbed littlefs to NuttX 2019-01-09 14:26:51 -06:00
syscall_lookup.h fs/vfs/fd_open.c: fs_fdopen() must not set errno 2020-05-23 15:22:09 +08:00
syscall.h syscall: Generate STUB prototype automatically 2020-05-07 10:31:05 -06:00
time.h include/sys/time.h, libs/libc/unistd, sched/timer: Implement alarm(), setitimer() and getitimer() APIs. 2019-11-13 08:10:16 -06:00
types.h arch: Customize the typedef of size_t instead of intptr_t 2020-02-18 07:15:19 -06:00
uio.h Trivial updates from review of vecto I/O logic. 2018-06-23 09:01:42 -06:00
un.h include/sys/un.h: Remove an incorrect comment and fix some types. Bad comment reported by Junmin Kim <trimind0210@gmail.com> via email. 2020-01-18 15:23:42 -03:00
utsname.h libs/unistd and other affected files: Hostname support no longer depends on CONFIG_NET since the host name is also useful in the non-network environment. CONFIG_NET_HOSTNAME changed to CONFIG_LIB_HOSTNAME. 2019-01-27 06:56:16 -06:00
vfs.h Standardize some header files 2015-02-16 14:29:43 -06:00
wait.h sched/: Update signal default STOP action. If waitpid was called with the WUNTRACED then wake up waitpid. Also fix some compile problems.. How did this work before? 2018-09-02 13:51:52 -06:00