*** 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: MINIX | File: umask.2
UMASK(2) System Calls Manual UMASK(2) NAME umask - set file creation mode mask SYNOPSIS #include <sys/types.h> #include <sys/stat.h> mode_t umask(mode_t mask) DESCRIPTION Umask sets the process's file mode creation mask to mask and returns the previous value of the mask. The low-order 9 bits of mask are used whenever a file is created, clearing corresponding bits in the file mode (see chmod(2)). This clearing allows each user to restrict the default access to his files. The value is initially 022 (write access for owner only). The mask is inherited by child processes. RETURN VALUE The previous value of the file mode mask is returned by the call. SEE ALSO chmod(2), mknod(2), open(2). 4th Berkeley Distribution May 9, 1985 UMASK(2)

Navigation Options