Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ umask(2) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                 umask(2)



        _________________________________________________________________
        umask                                                 System Call
        Set and get file creation mask.
        _________________________________________________________________


        SYNTAX

        int   umask  (creation_mask)
        int             creation_mask;


        PARAMETERS

        creation_mask  File mode creation mask.


        DESCRIPTION

        Sets the process's file mode creation mask to the low-order 9
        bits of <creation_mask> and returns the previous value of the
        mask.  Those bits other than the low-order 9 in <creation_mask>
        are reserved, and in the return value are undefined.  See
        creat(2) for details of how this mask is used.


        ACCESS CONTROL

        None.


        RETURN VALUE

        0..07777       Previous mask value.


        EXCEPTIONS

        None.


        SEE ALSO

        The related manual sections:  mkdir(1), sh(1)
        chmod(2), creat(2), mknod(2), open(2).









        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026