Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

chmod filename mode


Alias

None


Description

Attempts to change the mode of the specified file to that given in mode.


Parameters

filename

Target file.

mode

Mode (Must be an integer).


Return Value

Boolean: TRUE(1) on success, FALSE(0) otherwise (i.e. Not implemented by the underlying OS). Use libcox_value_to_bool() or libcox_value_to_int() to extract the processing result.