rt-thread-official/components/libc/compilers/common/extension/fcntl
Man, Jianting (Meco) 43484a201d
[libc] 优化armcc armclang处理 (#5858)
2022-04-22 13:39:44 +08:00
..
octal [libc] 优化armcc armclang处理 (#5858) 2022-04-22 13:39:44 +08:00
README.md improve libc time and MSVC simulator (#5775) 2022-04-07 14:24:11 +08:00
SConscript improve libc time and MSVC simulator (#5775) 2022-04-07 14:24:11 +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.