C Library Functions - system_getumask (3)
NAME
system_getumask(3f) - [M_system:QUERY_FILE] get current umask
(LICENSE:PD)
CONTENTS
Synopsis
Description
Examples
SYNOPSIS
integer function system_getumask() result (umask_value)
DESCRIPTION
The return value from getumask(3f) is the value of the file
creation mask, obtained by using umask(3c).
EXAMPLES
Sample program
program demo_getumask
use M_system, only : system_getumask, system_setumask
integer :: i
write(*,101)(system_getumask(),i=1,4)
101 format(1x,i0,1x,"O",o4.4,"",1x,Z",z0,"",1x,"B",b12.12,"")
end program demo_getumask
Expected output
18 O022 Z"12 B000010010"
| Nemo Release 3.1 | system_getumask (3) | June 29, 2025 |
Generated by manServer 1.08 from 77a75846-121b-49f9-96fc-fdaa151fc42c using man macros.