- open/rdonlyconstant
- open/wronlyconstant
- open/rdwrconstant
- open/readconstant
- open/writeconstant
- open/creatconstant
- open/appendconstant
- open/exclconstant
- open/nocttyconstant
- open/nonblockconstant
- open/truncconstant
- open/syncconstant
- open/fsyncconstant
- open/binaryconstant
- open/textconstant
Open flags used with the file-open procedure. open/read is a convenience synonym for open/rdonly, as is open/write for open/wronly.
NOTE: On native Windows builds (all except cygwin), open/noctty, open/nonblock, open/fsync and open/sync are defined as zero because the corresponding flag doesn't exist. This means you can safely add these to any set of flags when opening a file or pipe, but it simply won't have an effect.