9.267 UMASK — Set the file creation mask

Description:
Sets the file creation mask to MASK. If called as a function, it returns the old value. If called as a subroutine and argument OLD if it is supplied, it is set to the old value. See umask(2).
Standard:
GNU extension
Class:
Subroutine, function
Syntax:
CALL UMASK(MASK [, OLD])
OLD = UMASK(MASK)
Arguments:
MASK Shall be a scalar of type INTEGER.
OLD (Optional) Shall be a scalar of type INTEGER.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/UMASK.html