C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
_umask
 Description Example                     Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   <io.h>, <sys\types.h>, <sys\stat.h>
 
  Syntax:    int _umask( int pmode );
             pmode: _S_IWRITE, _S_IREAD, _S_IWRITE | _S_IREAD
 
  Returns:   the previous value of <pmode>.
 
  See also:  _chmod, _access, _stat, _setmode
                                    -♦-