zephyr/lib
Chris Friedt a9a909c558 fdtable: read, write, close: only execute methods if non-NULL
Only invoke vtable methods read, write, and close if they are
non-NULL.

The close() vtable method is optional, so that should not return
an error if zvfs_close() is called and that method is
unimplemented.

Otherwise, if zvfs_read() or zvfs_write() are called and the
corresponding vtable method is unimplemented, fail setting
errno to EIO.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-06-27 09:01:23 -04:00
..
acpi
cpp
crc
hash
heap
libc
mem_blocks
open-amp
os fdtable: read, write, close: only execute methods if non-NULL 2024-06-27 09:01:23 -04:00
posix posix: allow for external implementation of option groups 2024-06-26 13:08:21 -04:00
runtime
smf
utils zephyr: Add zero-len check for utf8_trunc 2024-06-27 08:48:31 -04:00
CMakeLists.txt
Kconfig