
     - Variable: O_RDONLY
          Open the file read-only.

     - Variable: O_WRONLY
          Open the file write-only.

     - Variable: O_RDWR
          Open the file read/write.

     - Variable: O_APPEND
          Append to the file instead of truncating.

     - Variable: O_CREAT
          Create the file if it does not already exist.

     See the Unix documentation of the `open' system call for additional
     flags.

