Man page - getdtablesize(3)

Packages contains this manual

Available languages:

en fr es pl ja ru ro de

Manual

getdtablesize

NOMBRE
BIBLIOTECA
SINOPSIS
DESCRIPCIÓN
VALOR DEVUELTO
ERRORES
ATRIBUTOS
VERSIONES
ESTÁNDARES
HISTORIAL
VÉASE TAMBIÉN
TRADUCCIÓN

NOMBRE

getdtablesize - get file descriptor table size

BIBLIOTECA

Biblioteca Estándar C ( libc , -lc )

SINOPSIS

#include <unistd.h>

int getdtablesize(void);

Requisitos de Macros de Prueba de Características para glibc (véase feature_test_macros (7)):

getdtablesize ():
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

DESCRIPCIÓN

getdtablesize () 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.

VALOR DEVUELTO

El límite actual de número de ficheros abiertos por proceso.

ERRORES

On Linux, getdtablesize () can return any of the errors described for getrlimit (2); see VERSIONS below.

ATRIBUTOS

Para obtener una explicación de los términos usados en esta sección, véase attributes (7).

Image grohtml-3958814-1.png

VERSIONES

The glibc version of getdtablesize () calls getrlimit (2) and returns the current RLIMIT_NOFILE limit, or OPEN_MAX when that fails.

Portable applications should employ sysconf(_SC_OPEN_MAX) instead of this call.

ESTÁNDARES

None.

HISTORIAL

SVr4, 4.4BSD (first appeared in 4.2BSD).

VÉASE TAMBIÉN

close (2), dup (2), getrlimit (2), open (2)

TRADUCCIÓN

La traducción al español de esta página del manual fue creada por Miguel Angel Sepulveda <angel@vivaldi.princeton.edu>, Gerardo Aburruzaga García <gerardo.aburruzaga@uca.es> y Miguel Pérez Ibars <mpi79470@alu.um.es>

Esta traducción es documentación libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD.

Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a debian-l10n-spanish@lists.debian.org .