[UP]


Manual Reference Pages  - system_getumask (3)

NAME

system_getumask(3f) - [M_system] get current umask (LICENSE:PD)

CONTENTS

Synopsis
Description
Example

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).

EXAMPLE

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 O’022’ Z"12’ B’000010010"


system_getumask (3) July 05, 2020
Generated by manServer 1.08 from a6eec3fe-4a87-4f7f-92fd-d160b618d9f5 using man macros.