DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦b5bcf5345⟧ TextFile

    Length: 782 (0x30e)
    Types: TextFile
    Notes: UNIX file
    Names: »umask.2«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man2/umask.2« 

TextFile

.ig
	@(#)umask.2	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH UMASK 2
.UC 4
.SH NAME
umask \- set file creation mode mask
.SH SYNOPSIS
.B umask(complmode)
.SH DESCRIPTION
.I Umask
sets a mask used whenever a file is created by
.IR creat (2)
or
.IR mknod (2):
the actual mode (see
.IR chmod (2))
of the newly-created file is the logical
.B and
of the given mode and the complement of the argument.
Only the low-order 9 bits of the mask (the protection bits)
participate.
In other words, the mask shows the bits to be turned off
when files are created.
.PP
The previous value of the mask is returned by the call.
The value is initially 022 (write access for owner only).
The mask is inherited by child processes.
.SH SEE ALSO
creat(2), mknod(2), chmod(2)