nuttx/arch/sim/src
chao an 899be58905 sim/win/hostfs: set O_BINARY for windows hostfs as default
Since the initial default setting in MSVC is text mode ( O_TEXT ):

https://learn.microsoft.com/en-us/cpp/c-runtime-library/text-and-binary-mode-file-i-o?view=msvc-170

In order to unify the translation behavior with unix,
1. set O_BINARY for hostfs as default
2. enable default text mode if the application specifies flag O_TEXT

Signed-off-by: chao an <anchao@xiaomi.com>
2023-04-19 02:55:15 +08:00
..
sim sim/win/hostfs: set O_BINARY for windows hostfs as default 2023-04-19 02:55:15 +08:00
.gitignore arch/sim: Copy include/nuttx/config.h to the local folder 2021-07-27 07:44:33 +09:00
Makefile sim/usb: add sim usb host 2023-03-03 14:31:30 -03:00
nuttx-names.in sim: switch working directory 2023-04-17 16:48:52 +08:00