Showing posts with label chroot(). Show all posts
Showing posts with label chroot(). Show all posts

Thursday, 26 May 2011

chroot()

The chroot() function changes the root directory of the current process to the specified directory.
This function returns TRUE on success and FALSE on failure.

Syntax

chroot(directory)
This function does not work on Windows platforms.