.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992 .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Modified by Michael Haardt .\" Modified Wed Jul 21 22:18:17 1993 by Rik Faith .\" Modified 21 Aug 1994 by Michael Chastain .\" Fixed typoes. .\" Modified 13 Jun 1996 by aeb - Added a warning: . may be outside / tree. .\" Modified Wed Nov 6 03:50:45 1996 by Eric S. Raymond .\" Modified by Joseph S. Myers , 970821 .\" .TH CHROOT 2 "21 Augustus 1997" "Linux 2.0.30" "Linux Programmeurs Handleidingen" .SH NAAM chroot \- verander root directorie .SH OVERZICHT .B #include .sp .BI "int chroot(const char *" pad ); .SH BESCHRIJVING .B chroot veranderd de root directorie naar dat opgegeven in .IR pad . Deze directorie zal gebruikt worden voor pad namen die beginnen met /. De root directorie wordt geërfd door alle kinderen van het huidige proces. Alleen de super-gebruiker mag de root directorie veranderen. Merk op dat deze aanroep niet de huidige werk directorie veranderd, zodat '.' buiten de boom geworteld bij '/' kan zijn. .SH "TERUGGEEF WAARDE" Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en wordt .I errno naar behoren gezet. .SH FOUTEN Afhankelijk van het bestandsysteem kunnen andere fouten teruggegeven worden. De meer algemene fouten worden hieronder genoemd. .TP .B EPERM {toestemming} Het geldende UID is niet nul. .TP .B EFAULT {fout} .I weg wijst buiten door u toegankelijke adres ruimte. .TP .B ENAMETOOLONG {naam te lang} .I weg is te lang. .TP .B ENOENT {geen ingang} Het bestand bestaat niet. .TP .B ENOMEM {geen geheugen} Onvoldoende besturingssysteem geheugen voorhanden. .TP .B ENOTDIR {geen dir} Een deel van .I weg is geen dir. .TP .B EACCES {toegang} Zoek toestemming werd geweigerd op een deel van het pad voorvoegsel. .TP .B ELOOP {cirkel} Teveel symbolische koppelingen werden tegengekomen in het "oplossen" van .IR pad . .TP .B EIO {in/uit} Een In/Uit fout trad op. .SH VOLDOET AAN SVr4, SVID, 4.4BSD, X/OPEN. Deze functie is niet deel van POSIX.1. SVr4 beschrijft extra EINTR, ENOLINK en EMULTIHOP fouttoestanden. X/OPEN beschrijft EIO, ENOMEM en EFAULT fouttoestanden niet. Deze interface wordt als over-erfd eigendom aangemerkt door X/OPEN. .SH "ZIE" .BR chdir "(2) {verander dir}" .\" Translated Sun Nov 12 14:01:24 CET 2000 JosBoersema .\" .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. Email naar . .\"Vertaling Jos Boersema $Id: chroot.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $