Provided by: manpages-es-dev_4.18.1-1_all bug

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
       NOTES below.

ATRIBUTOS

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

       ┌────────────────────────────────────────────────┬────────────────────┬───────────────────┐
       │InterfazAtributoValor             │
       ├────────────────────────────────────────────────┼────────────────────┼───────────────────┤
       │getdtablesize()                                 │ Seguridad del hilo │ Multi-hilo seguro │
       └────────────────────────────────────────────────┴────────────────────┴───────────────────┘

ESTÁNDARES

       SVr4,  4.4BSD  (the  getdtablesize()   function  first  appeared  in  4.2BSD).   It is not
       specified in POSIX.1; portable applications should employ sysconf(_SC_OPEN_MAX) instead of
       this call.

NOTAS

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

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
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩  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⟩.