qc.hlp (Table of Contents; Topic list)
File Permission Setting Constants
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Constant:  S_IREAD, S_IWRITE
 
  Include:   <sys\stat.h>
 
  Context:   open, sopen, umask
 
  Synopsis:  Required when O_CREAT (open, sopen) is specified.
 
     The <pmode> argument specifies the file's permission settings, as
     shown below:
 
     Constant               Meaning
 
     S_IREAD                Reading permitted
 
     S_IWRITE               Writing permitted
 
     S_IREAD | S_IWRITE     Both reading and writing permitted
 
     When used as the <pmode> argument for umask, the manifest constant
     sets the permission setting, as shown below:
 
     Constant               Meaning
 
     S_IREAD                Writing not permitted (file is read-only)
 
     S_IWRITE               Reading not permitted (file is write-only)
 
     S_IREAD | S_IWRITE     Neither reading nor writing permitted