.\" 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:10:52 1993 by Rik Faith .\" Modified 15 April 1995 by Michael Chastain : .\" Added 'fchdir'. .\" Fix bugs in error section. .\" Modified Mon Oct 21 23:05:29 EDT 1996 by Eric S. Raymond .\" Modified by Joseph S. Myers , 970821 .\" .TH CHDIR 2 "21 Augustus 1997" "Linux 2.0.30" "Linux Programmeurs Handleiding" .SH NAAM chdir, fchdir \- verander de werk directorie .SH OVERZICHT .B #include .sp .BI "int chdir(const char *" pad ); .br .BI "int fchdir(int " bi ");" .SH BESCHRIJVING .B chdir veranderd de huidige directorie naar dat opgegeven onder .IR pad . .PP .B fchdir is hetzelfde als .BR chdir , maar de directorie wordt gegeven als een open bestandindicator. .SH "EIND WAARDE" Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven en .I errno wordt naar behoren gezet. .SH FOUTEN Afhankelijk van het bestandsysteem kunnen andere fouten worden teruggegeven. De meer algemene fouten voor .B chdir worden hieronder genoemd: .TP .B EFAULT {fout} .I pad wijst buiten door u toegankelijke adres ruimte. .TP .B ENAMETOOLONG {naam te lang} .I pad Is te lang. .TP .B ENOENT {geen ingang} Het bestand bestaat niet. .TP .B ENOMEM {geen geheugen} Onvoldoende besturingssysteem geheugen was voorhanden. .TP .B ENOTDIR {geen dir} Een deel van .I pad is geen directorie. .TP .B EACCES {toegang} Zoek toestemming is geweigerd op een deel van .IR pad . .TP .B ELOOP {cirkel} Teveel symbolische koppelingen werden tegengekomen bij het "oplossen" van .IR pad . .TP .B EIO {in uit} Een In/Uit fout trad op. .PP De algemene fouten voor .B fchdir worden hieronder genoemd: .TP .B EBADF {slecht bestand} .I bi is geen geldige bestandindicator. .TP .B EACCES {toegang} Zoek-toestemming werd geweigerd voor het directorie-openen voor .IR bi . .\"(vertaling: ?!) .SH "VOLDOET AAN" De .B chdir aanroep is verenigbaar met SVr4, SVID, POSIX, X/OPEN, 4.4BSD. SVr4 beschrijft de extra fouttoestanden EINTR, ENOLINK, en EMULTIHOP maar heeft ENOMEM niet. POSIX.1 heeft ENOMEM en ELOOP fouttoestanden niet. X/OPEN heeft EFAULT, ENOMEM en EIO fouttoestanden niet. De .B fchdir aanroep is verenigbaar met SVr4, 4.4BSD en X/OPEN. SVr4 beschrijft extra EIO, EINTR, en ENOLINK fouttoestanden. X/OPEN beschrijft extra EINTR en EIO fouttoestanden. .SH "ZIE" .BR getcwd "(3) {krijg huidige werk dir}, .BR chroot "(2) {verander root} .\" Translated to Dutch Tue Nov 7 21:05:55 2000 by Jos Boersema .\" .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. .\"Vertaling Jos Boersema .\" .\" Email naar . $Id: chdir.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $