.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" Portions extracted from /usr/include/dirent.h are: .\" Copyright 1991, 1992 Free Software Foundation .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH getdirentries 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE getdirentries \- obtiene entradas de directorio en un formato independiente del sistema de ficheros .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBssize_t getdirentries(int \fP\fIfd\fP\fB, char \fP\fIbuf\fP\fB[restrict .\fP\fInbytes\fP\fB], size_t \fP\fInbytes\fP\fB,\fP \fB off_t *restrict \fP\fIbasep\fP\fB);\fP .fi .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBgetdirentries\fP(): .nf A partir de glibc 2.19: _DEFAULT_SOURCE Anteriores a glibc 2.19: _BSD_SOURCE || _SVID_SOURCE .fi .SH DESCRIPCIÓN Lee entradas de directorio del especificado por \fIfd\fP y las guarda en el sitio apuntado por \fIbuf\fP. Como mucho se leen \fInbytes\fP bytes. La lectura empieza en la posición \fI*pbase\fP, y \fI*pbase\fP se actualiza con la nueva posición tras la lectura. .SH "VALOR DEVUELTO" \fBgetdirentries\fP() returns the number of bytes read or zero when at the end of the directory. If an error occurs, \-1 is returned, and \fIerrno\fP is set to indicate the error. .SH ERRORES Vea el código fuente de la biblioteca de Linux para los detalles. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interfaz Atributo Valor T{ .na .nh \fBgetdirentries\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH ESTÁNDARES BSD. .SH NOTAS Use \fBopendir\fP(3) and \fBreaddir\fP(3) instead. .SH "VÉASE TAMBIÉN" \fBlseek\fP(2), \fBopen\fP(2) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Gerardo Aburruzaga García . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .