rt-thread-official/components/libc/compilers/common/extension/fcntl
Man, Jianting (Meco) 8bee7a0c23
[libc] implement extension standard C functions (#6044)
* implement extension standard C functions
2022-06-19 21:56:24 +08:00
..
msvc [libc] implement extension standard C functions (#6044) 2022-06-19 21:56:24 +08:00
octal [libc] implement extension standard C functions (#6044) 2022-06-19 21:56:24 +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.