File: getdtablesize.2

package info (click to toggle)
manpages-es 1.55-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,472 kB
  • ctags: 6
  • sloc: sh: 1,349; makefile: 63
file content (66 lines) | stat: -rw-r--r-- 2,573 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.\" Hey Emacs! This file is -*- nroff -*- source.
.\"
.\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
.\"
.\" 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.
.\" 
.\" Modified 2002-04-15 by Roger Luethi <rl@hellgate.ch> and aeb
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\" Translated 8 Jan 1996 Miguel A. Sepulveda (miguel@typhoon.harvard.edu)
.\" Modified 1 Jul 1996 Miguel A. Sepulveda (angel@vivaldi.princeton.edu)
.\" Translation revised on Wed Apr 29 18:30:20 CEST 1998 by Gerardo
.\" Aburruzaga García <gerardo.aburruzaga@uca.es>
.\" Revisado por Miguel Pérez Ibars <mpi79470@alu.um.es> el 11-noviembre-2004
.\"
.TH GETDTABLESIZE 2 "15 Abril 2002" "Linux 0.99.11" "Manual del Programador de Linux"
.SH NOMBRE
getdtablesize \- obtiene el tamaño de la tabla de descriptores
.SH SINOPSIS
.B #include <unistd.h>
.sp
.B int getdtablesize(void);
.SH DESCRIPCIÓN
.B 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.
.SH "VALOR DEVUELTO"
El límite actual de número de ficheros abiertos por proceso.
.SH OBSERVACIONES
.B getdtablesize
está implementada como una función de la biblioteca libc. La versión de glibc
hace una llamada a
.BR getrlimit (2)
y devuelve el valor límite
.B RLIMIT_NOFILE
actual, o
.B OPEN_MAX
cuando falla.
Las versiones de libc4 y libc5 devuelven
.B OPEN_MAX
(fijado a 256 desde Linux 0.98.4).
.SH CONFORME A
SVr4, 4.4BSD (la función
.B getdtablesize
apareció por primera vez en BSD 4.2).
.SH "VÉASE TAMBIÉN"
.BR close (2),
.BR dup (2),
.BR getrlimit (2),
.BR open (2)