mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 21:45:20 +00:00
469 B
469 B
Name
chroot - change filesystem root
Synopsis
#include <unistd.h>
int chroot(const char* path);
Description
chroot()
changes the filesystem root of the current process to a new directory specified by path
.
Errors
EPERM
: The current process does not have superuser privileges.EFAULT
:path
is not in readable memory.
All of the usual path resolution errors may also occur.