File Control

https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/fcntl.h.html

Part of QRT Real-Time Kernel.

Defines

O_RDONLY

Open for read only.

O_WRONLY

Open for write only.

O_RDWR

Open for read/write.

O_NONBLOCK

Non-blocking mode.

O_CREAT

Create file if not exists.

O_EXCL

Fail if the file already exists. Only meaningful with O_CREAT.