getdtablesize(3) Library Functions Manual getdtablesize(3) NOMBRE getdtablesize - get file descriptor table size BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #include int getdtablesize(void); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease 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 DESCRIPCION getdtablesize() devuelve el numero maximo de ficheros que un proceso puede tener abiertos, uno mas que el valor mas grande posible para un descriptor de fichero. VALOR DEVUELTO El limite actual de numero 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 explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |getdtablesize() | Seguridad del hilo | Multi-hilo seguro | +-----------------------------+--------------------+-------------------+ 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. ESTANDARES None. HISTORIAL SVr4, 4.4BSD (first appeared in 4.2BSD). VEASE TAMBIEN close(2), dup(2), getrlimit(2), open(2) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Miguel Angel Sepulveda , Gerardo Aburruzaga Garcia y Miguel Perez Ibars Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de manual de Linux 6.06 31 Octubre 2023 getdtablesize(3)