Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

umask [mask]


Alias

None


Description

Changes the current umask.


Parameters

mask

Optional Argument: The new mask.


Return Value

Integer: without arguments, this command simply returns the current umask. Otherwise the old umask is returned on success. 0 is returned on failure (i.e. Not implemented by the underlying OS). Use libcox_value_to_int() to extract the processing result.