*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: umask | Section: 2 | Source: UNIX v10 | File: umask.2
UMASK(2) System Calls Manual UMASK(2) NAME umask - set file creation mode mask SYNOPSIS int umask(complmode) DESCRIPTION Umask sets the process mode mask. The mask modifies the mode argument of creat (see open(2)), mkdir(2), and mknod(2) thus: mode &= (07777 & ~(complmode & 0777)) In other words, the mask specifies permission bits to be turned off when files are created. The previous value of the mask is returned by the call. The initial value is set by login(8), and may be modified by the umask command of sh(1). The mask is inherited by child processes. SEE ALSO open(2), mkdir(2), mknod(2), stat(2) UMASK(2)

Navigation Options