stm32f103-template/rt-thread/components/libc/compilers/common/extension/fcntl
邱棚 47f414c189 scons build success 2023-05-09 22:30:49 +08:00
..
msvc scons build success 2023-05-09 22:30:49 +08:00
octal scons build success 2023-05-09 22:30:49 +08:00
README.md scons build success 2023-05-09 22:30:49 +08:00
SConscript scons build success 2023-05-09 22:30:49 +08:00

README.md

Because of the history issue, flags in fcntl.h, such as O_CREAT, have difference types of value. Some OS use hex flags and others use octal flags.

In terms of RT-Thread, Keil, IAR and MSVC use octal flags, which is located in the tcntl/octal folder; newlib uses hex flags; musl uses octal flags.