stm32f103-template/rt-thread/components/libc/compilers/common/extension/fcntl/README.md

5 lines
300 B
Markdown
Raw Normal View History

2023-05-09 22:30:49 +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.