*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> getdtablesize (2)              
Title
Content
Arch
Section
 

GETDTABLESIZE(2)

Contents


NAME    [Toc]    [Back]

       getdtablesize - get descriptor table size

SYNOPSIS    [Toc]    [Back]

       #include <unistd.h>

       int getdtablesize(void);

DESCRIPTION    [Toc]    [Back]

       getdtablesize  returns  the  maximum number of files a process can have
       open.

NOTES    [Toc]    [Back]

       getdtablesize is implemented as a library function in DLL 4.4.1.   This
       function  returns OPEN_MAX (set to 256 in Linux 2.0.23) if OPEN_MAX was
       defined when the library was compiled.  Otherwise, -1 is returned,  and
       errno is set to ENOSYS.

CONFORMING TO    [Toc]    [Back]

       SVr4, 4.4BSD (the getdtablesize function first appeared in BSD 4.2).

SEE ALSO    [Toc]    [Back]

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



Linux 0.99.11			  1993-07-22		      GETDTABLESIZE(2)
[ Back ]
 Similar pages
Name OS Title
getdtablesize Tru64 Get the size of the descriptor table
getdtablesize IRIX get file descriptor table size
vx_ninode HP-UX Determines the internal node table size
amd64_get_ldt OpenBSD manage amd64 per-process Local Descriptor Table entries
i386_get_ldt OpenBSD manage i386 per-process Local Descriptor Table entries
i386_get_ldt NetBSD manage i386 per-process Local Descriptor Table entries
i386_set_ldt NetBSD manage i386 per-process Local Descriptor Table entries
i386_set_ldt OpenBSD manage i386 per-process Local Descriptor Table entries
amd64_set_ldt OpenBSD manage amd64 per-process Local Descriptor Table entries
i386_get_ldt FreeBSD manage i386 per-process Local Descriptor Table entries
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service