.\" -*- coding: UTF-8 -*- .\" Copyright (C) 1995 Andries Brouwer (aeb@cwi.nl) .\" .\" %%%LICENSE_START(VERBATIM) .\" 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. .\" %%%LICENSE_END .\" .\" Written 11 June 1995 by Andries Brouwer .\" Modified 22 July 1995 by Michael Chastain : .\" In 1.3.X, returns only one entry each time; return value is different. .\" Modified 2004-12-01, mtk, fixed headers listed in SYNOPSIS .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH READDIR 2 "6 maart 2019" Linux "Linux Programmeurs Handleiding" .SH NAAM readdir \- lees een map ingang .SH SAMENVATTING .nf .PP \fBint readdir(unsigned int \fP\fIbes_ind\fP\fB, struct old_linux_dirent *\fP\fImapw\fP\fB,\fP \fB unsigned int \fP\fItel\fP\fB);\fP .fi .PP \fILet op\fP: Er is geen glibc wrapper voor dit systeem aanroep; zie OPMERKINGEN. .SH BESCHRIJVING Dit is niet de functie waar je in geïnteresseerd bent. Kijk naar \fBreaddir\fP(3) voor de met POSIX overeenstemmende C bibliotheek interfaces. Deze pagina beschrijft de kale kernel systeem aanroep interface, die kan veranderen en die wordt overstegen door \fBgetdents\fP(2). .PP \fBreaddir\fP() leest één \fIold_linux_dirent\fP structuur van de map waarnaar gewezen wordt door \fIbes_ind\fP naar het geheugen gebied waarnaar gewezen wordt door \fImapw\fP. De grootheid \fItel\fP wordt genegeerd; hoogstends één dirent structuur wordt gelezen. .PP De \fIold_linux_dirent\fP structuur is als volgt gedeclareerd (privé in het Linux kernel bestand \fB/fs/readdir.c\fP) : .PP .in +4n .EX struct old_linux_dirent { unsigned long d_ino; /* »inode« nummer */ unsigned long d_offset; /* verschuiving naar \fIold_linux_dirent\fP */ unsigned short d_namlen; /* lengte van dit \fId_name\fP */ char d_name[1]; /* bestandsnaam (eindigend op nul) */ } .EE .in .PP \fId_ino\fP is een »inode« nummer. \fId_off\fP is de afstand van het begin van de map naar deze \fIold_linux_dirent\fP. \fId_reclen\fP is is de maat van \fId_name\fP, de nul beeindiger (\(aq\e0\(aq) niet meerekenend. \fId_name\fP is een nul\-beëindigde bestandsnaam. .SH "EIND WAARDE" Bij success wordt 1 teruggegeven. Bij einde van de map wordt 0 teruggegeven. Bij falen wordt \-1 teruggegeven, en \fIerrno\fP wordt naar behoren gezet. .SH FOUTEN .TP \fBEBADF\fP Ongeldige bestandindicator \fIbes_ind\fP. .TP \fBEFAULT\fP Argument wijst buiten de adres ruimte van het aanroepende proces. .TP \fBEINVAL\fP Resultaat buffer is te klein. .TP \fBENOENT\fP Niet zo'n map. .TP \fBENOTDIR\fP Bestandindicator wijst niet naar een map. .SH "VOLDOET AAN" Deze systeem aanroep is Linux\-specifiek. .SH OPMERKINGEN glibc voorziet niet in een omwikkel aanroep voor deze systeem aanroep; roep hem aan met \fBsyscall\fP(2). U zult de \fIold_linux_dirent\fP structure zelf moeten definiëren. Hoewel u in dat geval beter \fBreaddir\fP(3) kunt gebruiken. .PP Deze systeem aanroep bestaat niet op x86\-64. .SH "ZIE OOK" \fBgetdents\fP(2), \fBreaddir\fP(3) .SH COLOFON Deze pagina is onderdeel van release 5.10 van het Linux \fIman\-pages\fP\-project. Een beschrijving van het project, informatie over het melden van bugs en de nieuwste versie van deze pagina zijn op \%https://www.kernel.org/doc/man\-pages/ te vinden. .SH VERTALING De Nederlandse vertaling van deze handleiding is geschreven door Jos Boersema , Mario Blättermann en Luc Castermans . Deze vertaling is vrije documentatie; lees de .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE of later over de Copyright-voorwaarden. Er is geen AANSPRAKELIJKHEID. Indien U fouten in de vertaling van deze handleiding zou vinden, stuur een e-mail naar .MT debian-l10n-dutch@lists.debian.org .ME .