Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umask(S) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mkdir(C)

mknod(C)

sh(C)

chmod(S)

mknod(S)

open(S)



     UMASK(S)                 XENIX System V                  UMASK(S)



     Name
          umask - Sets and gets file creation mask.

     Syntax
          int umask (cmask)
          int cmask;

     Description
          umask sets the process' 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.

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

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





































     Page 1                                           (printed 8/7/87)



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