nuttx/drivers/pipes
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
..
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
fifo.c Fix some minor style issues 2024-11-20 10:51:07 +01:00
Kconfig Enable DEV_PIPE_NPOLLWAITERS default value 4 for adapte APP 2024-11-05 20:10:49 +08:00
Make.defs drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pipe.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pipe_common.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
pipe_common.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00