Function Umask (Mask : Integer) : Integer;
Change the file creation mask for the current user to Mask. The current mask is returned.
None
Chmod, Umask (2)
Program Example27; { Program to demonstrate the Umask function. } Uses linux; begin Writeln ('Old Umask was : ',Umask(Octal(111))); WRiteln ('New Umask is : ',Octal(111)); end.