.\" -*- coding: UTF-8 -*- .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" %%%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 .\" .\" Modified 2002-04-15 by Roger Luethi and aeb .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH GETDTABLESIZE 3 "9 Junio 2020" Linux "Manual del Programador de Linux" .SH NOMBRE getdtablesize \- get file descriptor table size .SH SINOPSIS \fB#include \fP .PP \fBint getdtablesize(void);\fP .PP .RS -4 Requisitos de Macros de Prueba de Características para glibc (véase \fBfeature_test_macros\fP(7)): .RE .PP \fBgetdtablesize\fP(): .ad l .RS 4 .PD 0 .TP 4 Desde glibc 2.12: .nf /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || ! (_POSIX_C_SOURCE\ >=\ 200112L) .fi .TP 4 Antes de glibc 2.12: .\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 .PD .RE .ad b .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; lb lb lb l l l. Interfaz Atributo Valor T{ \fBgetdtablesize\fP() T} Seguridad del hilo Multi\-hilo seguro .TE .SH "CONFORME A" SVr4, 4.4BSD (the \fBgetdtablesize\fP() function first appeared in 4.2BSD). It is not specified in POSIX.1; portable applications should employ \fIsysconf(_SC_OPEN_MAX)\fP instead of this call. .SH NOTAS .\" 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. .SH "VÉASE TAMBIÉN" \fBclose\fP(2), \fBdup\fP(2), \fBgetrlimit\fP(2), \fBopen\fP(2) .SH COLOFÓN Esta página es parte de la versión 5.10 del proyecto Linux \fIman\-pages\fP. Puede encontrar una descripción del proyecto, información sobre cómo informar errores y la última versión de esta página en \%https://www.kernel.org/doc/man\-pages/. .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 .