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)