.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified 2002-04-15 by Roger Luethi and aeb .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH getdtablesize 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE getdtablesize \- get file descriptor table size .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#include \fP .PP \fBint getdtablesize(void);\fP .fi .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBgetdtablesize\fP(): .nf .\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED Since glibc 2.20: _DEFAULT_SOURCE || ! (_POSIX_C_SOURCE >= 200112L) glibc 2.12 to glibc 2.19: _BSD_SOURCE || ! (_POSIX_C_SOURCE >= 200112L) Before glibc 2.12: _BSD_SOURCE || _XOPEN_SOURCE >= 500 .fi .SH DESCRIPCIÓN \fBgetdtablesize\fP() devuelve el número máximo de ficheros que un proceso puede tener abiertos, uno más que el valor más grande posible para un descriptor de fichero. .SH "VALOR DEVUELTO" El límite actual de número de ficheros abiertos por proceso. .SH ERRORES On Linux, \fBgetdtablesize\fP() can return any of the errors described for \fBgetrlimit\fP(2); see NOTES below. .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 \fBgetdtablesize\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .sp 1 .SH VERSIONES .\" The libc4 and libc5 versions return .\" .B OPEN_MAX .\" (set to 256 since Linux 0.98.4). The glibc version of \fBgetdtablesize\fP() calls \fBgetrlimit\fP(2) and returns the current \fBRLIMIT_NOFILE\fP limit, or \fBOPEN_MAX\fP when that fails. .PP Portable applications should employ \fIsysconf(_SC_OPEN_MAX)\fP instead of this call. .SH ESTÁNDARES None. .SH HISTORIAL SVr4, 4.4BSD (first appeared in 4.2BSD). .SH "VÉASE TAMBIÉN" \fBclose\fP(2), \fBdup\fP(2), \fBgetrlimit\fP(2), \fBopen\fP(2) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Miguel Angel Sepulveda , Gerardo Aburruzaga García y Miguel Pérez Ibars . .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 .