Files
oldlinux-files/Minix/1.7.5/MANUALS/CAT2/UMASK.2
2024-02-19 00:21:39 -05:00

17 lines
331 B
Groff

SYSTEM CALLS
umask - set the default file protection mask
INVOCATION
int umask( new_mask )
int new_mask;
EXPLANATION
Whenever a file is created its protection mask is AND'ed with
the complement of the lower 9 bits of <new_mask>.
RESULTS
The previous mask contents.
REFERENCES
chmod(2), creat(2)