mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| nx_register.c | ||
| nxterm.h | ||
| nxterm_clear.c | ||
| nxterm_driver.c | ||
| nxterm_font.c | ||
| nxterm_kbdin.c | ||
| nxterm_putc.c | ||
| nxterm_redraw.c | ||
| nxterm_register.c | ||
| nxterm_resize.c | ||
| nxterm_scroll.c | ||
| nxterm_unregister.c | ||
| nxterm_vt100.c | ||
| nxtk_register.c | ||
| nxtool_register.c | ||