incubator-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
epoll.h
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
mman.h
mount.h fs: Add nx_mount/nx_umount2 function 2020-05-08 07:20:49 -06:00
param.h
prctl.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
random.h
resource.h
select.h
sendfile.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
shm.h
socket.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
sockio.h
stat.h fs/vfs/fs_fstat: Correct fstat() for proxied block and MTD drivers. 2020-05-28 17:34:09 +01:00
statfs.h
syscall.h syscall: Generate STUB prototype automatically 2020-05-07 10:31:05 -06:00
syscall_lookup.h fs/vfs/fd_open.c: fs_fdopen() must not set errno 2020-05-23 15:22:09 +08: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
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
vfs.h
wait.h