Manual Reference Pages - system_getumask (3m_system)
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 (3m_system) | March 07, 2025 |
Generated by manServer 1.08 from 51483cf1-5c5b-4de9-80d3-90ba047ddfc5 using man macros.