*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/umask (2)              
Title
Content
Arch
Section
 

Contents


umask(2)							      umask(2)


NAME    [Toc]    [Back]

     umask - set and get file creation mask

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/stat.h>

     mode_t umask(mode_t cmask);

DESCRIPTION    [Toc]    [Back]

     umask sets	the process's file mode	creation mask to cmask and returns the
     previous value of the mask.  Only the access permission bits of cmask and
     the file mode creation mask are used.

FILES    [Toc]    [Back]

     Message catalog:  uxcore.abi

SEE ALSO    [Toc]    [Back]

      
      
     mkdir(1), sh(1), chmod(2),	creat(2), mknod(2), open(2), stat(5)

DIAGNOSTICS    [Toc]    [Back]

     The previous value	of the file mode creation mask is returned.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
umask Linux set file creation mask
umask IRIX set file-creation mode mask
pxfumask IRIX Sets the file creation mask
umask Tru64 Sets and gets the value of the file creation mask
umask FreeBSD set file creation mode mask
umask NetBSD set file creation mode mask
umask OpenBSD set file creation mode mask
umask HP-UX set or display the file mode creation mask
umask Tru64 Displays or sets the file mode creation mask
newfile IRIX perform file-creation tasks for printer scripts
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service