Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umask(2) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod, fchmod

mknod, mknodx, mkfifo

open, openx, creat

stat.h

sh

csh

umask



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



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026