Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

chroot path


Alias

None


Description

Changes the root directory of the calling process to the specified path.


Parameters

path

New Root directory.


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.