UMASK(2,L) AIX Technical Reference UMASK(2,L) ------------------------------------------------------------------------------- umask PURPOSE Sets and gets the value of the file creation mask. SYNTAX int umask (cmask) int cmask; DESCRIPTION The umask system call sets the process's file mode creation mask to the value of the cmask parameter. Only the low-order 9 bits of the cmask parameter and the file mode creation mask are used. RETURN VALUE Upon successful completion, the previous value of the file mode creation mask is returned. RELATED INFORMATION In this book: "chmod, fchmod," "mknod, mknodx, mkfifo," "open, openx, creat," and "stat.h." The sh, csh, and umask commands in AIX Operating System Commands Reference. Processed November 7, 1990 UMASK(2,L) 1