IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 2 > umask man page

umask man page

Section 2 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





System Calls                                             umask(2)



NAME
     umask - set and get file creation mask

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

     mode_t umask(mode_t cmask);

DESCRIPTION
     The umask() function 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.  The  mask  is inherited by child
     processes. See intro(2) for more information on masks.

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

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Interface Stability         | Standard                    |
    |_____________________________|_____________________________|
    | MT-Level                    | Async-Signal-Safe           |
    |_____________________________|_____________________________|


SEE ALSO
     mkdir(1), sh(1),  intro(2),  chmod(2),  creat(2),  mknod(2),
     open(2), stat.h(3HEAD), attributes(5), standards(5)



















SunOS 5.10          Last change: 28 Dec 1996                    1





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:27:12 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

CPAN man page (4196 hits)
(Suse Linux 10.1)

ssh man page (4111 hits)
(Suse Linux 10.1)

svn man page (2354 hits)
(FreeBSD 6.2)

startproc man page (1695 hits)
(Suse Linux 10.1)

adv_cap_autoneg man page (1445 hits)
(Solaris 10 11_06)

signal man page (1357 hits)
(Suse Linux 10.1)

sqlite3 man page (1329 hits)
(openSUSE 10.2)

netcat man page (1188 hits)
(Suse Linux 10.1)

pprosetup man page (1177 hits)
(Solaris 10 11_06)

lwptut man page (1105 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: About Pyrenees Mountain Holidays :: PIC Micro Development :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum