Access group

ORDONLY
Specifies that the program should open the file for reading.
OWRONLY
Specifies that the program should open the file for writing.
ORDWR
Specifies that the program should open the file for reading and writing. Do not use this option for a FIFO special file.