1 2 3 4 5 6 7 8 9
#include <unistd.h> #include <errno.h> int chroot(const char*) { errno = EIO; return -1; }