Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     UMASK(S)                  UNIX System V                  UMASK(S)



     Name
          umask - set and get file creation mask

     Syntax
          int umask (cmask)
          int cmask;

     Description
          The umask system call sets the process's file mode creation
          mask to cmask and returns the previous value of the mask.
          Only the low-order 9 bits of cmask and the file mode
          creation mask are used.

     See Also
          chmod(S), creat(S), mknod(S), open(S), mkdir(C), sh(C)

     Diagnostics
          The previous value of the file mode creation mask is
          returned.

     Standards Conformance
          umask is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          The X/Open Portability Guide II of January 1987;
          IEEE POSIX Std 1003.1-1988 with C Standard Language-
          Dependent System Support;
          and NIST FIPS 151-1.
                                                (printed 6/20/89)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026