system_getumask(3f) - [M_system:QUERY_FILE] get current umask (LICENSE:PD)
Synopsis
Description
Examples
integer function system_getumask() result (umask_value)
The return value from getumask(3f) is the value of the file creation mask, obtained by using umask(3c).
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_getumaskExpected output
18 O022 Z"12 B000010010"
Nemo Release 3.1 | system_getumask (3m_system) | March 07, 2025 |