01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

UMASK( 2 )<br />

UMASK ( 2 )<br />

NAME<br />

umask - set and get file creation mask<br />

SYNOPSIS<br />

int umask (cmask)<br />

int cmask;<br />

DESCRIPTION<br />

Umask sets the process's file mode creation mask to cmask and<br />

returns the previous value of the mask. Only the low-order 9 bits<br />

of cmask and the file mode creation mask are used.<br />

RETURN VALUE<br />

The previous value of the file mode creation mask is returned.<br />

SEE ALSO<br />

mkdir( l), sh( l), chmod(2), creat(2), mknod(2), open(2).<br />

- 1-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!