diff --git a/reference/dir/functions/chroot.xml b/reference/dir/functions/chroot.xml index 207bc8d6a9..019c0f0969 100644 --- a/reference/dir/functions/chroot.xml +++ b/reference/dir/functions/chroot.xml @@ -15,11 +15,12 @@ Changes the root directory of the current process to - directory. + directory, and changes the current + working directory to "/". - This function is only available if your system supports it and - you're using the CLI, CGI or Embed SAPI. Also, this function + This function is only available to GNU and BSD systems, and + only when using the CLI, CGI or Embed SAPI. Also, this function requires root privileges. @@ -32,7 +33,7 @@ directory - The new directory + The path to change the root directory to. @@ -47,6 +48,28 @@ + + &reftitle.examples; + + + + +]]> + + &example.outputs; + + + + + + + &reftitle.notes; ¬e.no-windows;