nuttx/libs
Xiang Xiao a0357b3a65 !include/fcntl.h: align open flags with Linux values
Align the NuttX open(2) flag constants with the Linux asm-generic
values so that the FUSE wire protocol and other cross-platform
interfaces work without conversion.

All code that used '(flags & O_RDONLY)' as a bitmask check (always 0
now that O_RDONLY=0) has been updated to use '(flags & O_ACCMODE)'
comparisons.

The NUTTX_O_* constants in include/nuttx/fs/hostfs.h are updated to
match, and the sim hostfs open flag mapping is fixed.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-07-03 10:33:47 +08:00
..
libbuiltin fix(compiler-rt): avoid duplicate builtins dir on sim 2026-05-13 10:01:26 -03:00
libc !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
libdsp Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
libm libs/libm: correct implementation of truncl if long double is double 2026-07-03 10:32:57 +08:00
libnx include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
libxx libs\libxx: Fix Make style 2026-03-23 18:16:46 -04:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00