nuttx/include
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
..
arpa nxstyle fixes 2020-04-11 21:19:47 +01:00
cxx Make task_init() and task_activate() internal OS functions. 2020-05-25 23:54:45 +01:00
net Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
netinet include/netinet/arp.h: Previous network changes broke the build test (#193) 2020-01-31 21:23:15 +01:00
netpacket netlink: add netlink multicast group define 2020-04-16 17:39:06 +08:00
nuttx fs/vfs/fs_fstat: Correct fstat() for proxied block and MTD drivers. 2020-05-28 17:34:09 +01:00
sys fs/vfs/fs_fstat: Correct fstat() for proxied block and MTD drivers. 2020-05-28 17:34:09 +01:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
aio.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
alloca.h
assert.h
crc8.h Battery monitor support (#404) 2020-02-28 18:18:50 -06:00
crc16.h
crc32.h
crc64.h
ctype.h
debug.h debug: Reduce CONFIG_CPP_HAVE_VARARGS usage 2020-05-05 08:27:58 -06:00
dirent.h libs/libc/dirent/: Added alphasort, scandir and DT_* defines 2019-07-31 07:53:14 -06:00
dlfcn.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
dsp.h Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base 2020-05-01 10:43:47 -03:00
elf32.h Add missing Elf_Addr typedef 2020-04-30 08:46:21 -06:00
elf64.h Add missing Elf_Addr typedef 2020-04-30 08:46:21 -06:00
elf.h include/elf.h: Add EM_XTENSA 2020-03-16 07:54:49 -06:00
endian.h
errno.h Completes the Implementation of the TLS-based errno 2020-05-07 23:11:34 +01:00
fcntl.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
fixedmath.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
grp.h libc/grp: Added stubbed implementations of getgrgid, getgrgid_r, getgrnam, getgrnam_r, and initgroups. These functions are essentially stubs pretending that NuttX supported groups and that the only configured group in the system was 'root' with gid 0. The intend is not to provide meaningful new features, but to ease porting of foreign source code to NuttX. 2019-08-03 08:23:04 -06:00
hex2bin.h
inttypes.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
libgen.h
limits.h
locale.h
lzf.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
mqueue.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
netdb.h libc/netdb: Add hostent_s to avoid the change of hostent 2020-04-01 16:09:28 -06:00
nxflat.h Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
poll.h
pthread.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
pwd.h libc/pwd: Added stubbed implementations 2019-08-04 07:18:58 -06:00
queue.h
sched.h Make task_init() and task_activate() internal OS functions. 2020-05-25 23:54:45 +01:00
semaphore.h
signal.h nxstyle fixes 2020-04-11 21:19:47 +01:00
spawn.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
stdbool.h
stddef.h stddef.h: Add max_align_t typedef 2020-05-27 05:40:37 -06:00
stdint.h fix long line comment 2020-04-02 22:08:41 +08:00
stdio.h include/nuttx/sched.h: Make naming of all internal names consistent: 2020-05-09 14:19:08 -03:00
stdlib.h nxstyle fixes 2020-04-11 21:19:47 +01:00
stdnoreturn.h
string.h libs/libc/string/Make.defs: Need to include build support for files needed when CHAR_BIT != 8. 2019-11-04 16:02:50 -06:00
strings.h Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
syscall.h
syslog.h setlogmask(): Add comments 2020-05-11 11:32:55 -04:00
termios.h
threads.h
time.h Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
unistd.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
wchar.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00
wctype.h syscall: Fix typo error in cvs and header file 2020-05-07 10:31:05 -06:00