rt-thread-am/components/libc/compilers/common/extension/fcntl
2023-05-20 16:26:38 +08:00
..
msvc import RT-Thread@9217865c without bsp, libcpu and components/net 2023-05-20 16:26:38 +08:00
octal import RT-Thread@9217865c without bsp, libcpu and components/net 2023-05-20 16:26:38 +08:00
README.md import RT-Thread@9217865c without bsp, libcpu and components/net 2023-05-20 16:26:38 +08:00
SConscript import RT-Thread@9217865c without bsp, libcpu and components/net 2023-05-20 16:26:38 +08:00

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.