UMASK
Section: Linux Programmer's Manual (2)
Updated: 24 July 93
Index
Return to Main Contents
NAME
umask - set file creation mask
SYNOPSIS
#include <sys/stat.h>
int umask(int mask);
DESCRIPTION
umask
sets the umask to
mask
& 0777.
RETURN VALUE
The previous value of the mask is returned.
CONFORMING TO
SVID, AT&T, POSIX, X/OPEN, BSD 4.3
SEE ALSO
creat(2), open(2)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- CONFORMING TO
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:25:02 GMT, March 22, 2025