Files
oldlinux-files/Linux-0.98/Yggdrasil-0.98.3/usr/man/man2/umask.2
2024-02-19 00:21:16 -05:00

25 lines
401 B
Groff

.TH UMASK 2
.UC 4
.SH NAME
umask \- set file creation mask.
.SH SYNOPSIS
.nf
.B #include <unistd.h>
.B int umask (int mask);
.fi
.SH DESCRIPTION
.B umask()
sets the umask to
.I mask
& 0777. The old umask before the set is returned.
.SH FILES
linux/kernel/sys.c
.br
/usr/include/linux/sys.h
.br
/usr/include/unistd.h
.SH SEE ALSO
open(2)
.\".SH BUGS
.\"Should the old or current umask be returned?