mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 05:09:00 +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 | ||
| Kconfig | ||
| lib_asprintf.c | ||
| lib_clearerr.c | ||
| lib_dprintf.c | ||
| lib_fclose.c | ||
| lib_feof.c | ||
| lib_ferror.c | ||
| lib_fflush.c | ||
| lib_fgetc.c | ||
| lib_fgetpos.c | ||
| lib_fgets.c | ||
| lib_fgetwc.c | ||
| lib_fileno.c | ||
| lib_fmemopen.c | ||
| lib_fopen.c | ||
| lib_fopencookie.c | ||
| lib_fprintf.c | ||
| lib_fputc.c | ||
| lib_fputs.c | ||
| lib_fputwc.c | ||
| lib_fputws.c | ||
| lib_fread.c | ||
| lib_freopen.c | ||
| lib_fscanf.c | ||
| lib_fseek.c | ||
| lib_fseeko.c | ||
| lib_fsetpos.c | ||
| lib_ftell.c | ||
| lib_ftello.c | ||
| lib_fwrite.c | ||
| lib_getc.c | ||
| lib_getchar.c | ||
| lib_getdelim.c | ||
| lib_gets.c | ||
| lib_gets_s.c | ||
| lib_getwc.c | ||
| lib_libdgets.c | ||
| lib_libfflush.c | ||
| lib_libfgets.c | ||
| lib_libfilelock.c | ||
| lib_libflushall.c | ||
| lib_libfread_unlocked.c | ||
| lib_libfwrite.c | ||
| lib_libgetstreams.c | ||
| lib_open_memstream.c | ||
| lib_perror.c | ||
| lib_printf.c | ||
| lib_putc.c | ||
| lib_putchar.c | ||
| lib_puts.c | ||
| lib_putwc.c | ||
| lib_putwchar.c | ||
| lib_rdflush_unlocked.c | ||
| lib_remove.c | ||
| lib_renameat.c | ||
| lib_rewind.c | ||
| lib_scanf.c | ||
| lib_setbuf.c | ||
| lib_setbuffer.c | ||
| lib_setvbuf.c | ||
| lib_snprintf.c | ||
| lib_sprintf.c | ||
| lib_sscanf.c | ||
| lib_tempnam.c | ||
| lib_tmpfile.c | ||
| lib_tmpnam.c | ||
| lib_ungetc.c | ||
| lib_ungetwc.c | ||
| lib_vasprintf.c | ||
| lib_vdprintf.c | ||
| lib_vfprintf.c | ||
| lib_vfscanf.c | ||
| lib_vprintf.c | ||
| lib_vscanf.c | ||
| lib_vsnprintf.c | ||
| lib_vsprintf.c | ||
| lib_vsscanf.c | ||
| lib_wrflush_unlocked.c | ||
| Make.defs | ||