help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpUmask

Set file creation mask.

Declaration

Source position: bunxh.inc line 28

function FpUmask(

  cmask: TMode

):TMode;

Description

fpUmask changes the file creation mask for the current user to cmask. The current mask is returned.

See also

fpChmod

  

Change file permission bits

Example

Program Example27;

{ Program to demonstrate the Umask function. }

Uses BaseUnix;

begin
  Writeln ('Old Umask was : ',fpUmask(&111));
  WRiteln ('New Umask is  : ',&111);
end.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505