nuttx/graphics/nxterm
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 graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
Make.defs graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
nx_register.c graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
nxterm.h graphics/nxterm: Use small lock to protect resource in graphics. 2026-01-27 17:59:07 +08:00
nxterm_clear.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_driver.c !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
nxterm_font.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_kbdin.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_putc.c graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
nxterm_redraw.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_register.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_resize.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_scroll.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
nxterm_unregister.c graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
nxterm_vt100.c graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
nxtk_register.c graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00
nxtool_register.c graphics: migrate to SPDX identifier 2024-09-10 22:54:31 +08:00