# PXFUMASK

POSIX Subroutine: Sets a new file creation mask and gets the previous one.

## Module

USE IFPOSIX

CALL PXFUMASK (icmask,iprevcmask,ierror)

icmask | (Input) INTEGER(4). The new file creation mask.
iprevcmask | (Output) INTEGER(4). The previous file creation mask.
ierror | (Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

Parent topic: POSIX* Library Routines