umask(2) DG/UX 5.4R3.00 umask(2)
NAME
umask - set and get file creation mask
SYNOPSIS
modet umask (creationmask)
int creationmask;
where:
creationmask File mode creation mask
DESCRIPTION
Umask sets the process's file mode creation mask to the low-order 9
bits of creationmask and returns the previous value of the mask.
Those bits other than the low-order 9 in creationmask are reserved,
and in the return value are undefined. See creat(2) for details of
how this mask is used.
ACCESS CONTROL
None.
RETURN VALUE
0..07777 Previous mask value.
DIAGNOSTICS
None.
SEE ALSO
mkdir(1), sh(1), umask(1), chmod(2), creat(2), mknod(2), open(2).
Licensed material--property of copyright holder(s) 1