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

  man pages->IRIX man pages -> getdtablehi (3c)              
Title
Content
Arch
Section
 

Contents


GETDTABLEHI(3C)						       GETDTABLEHI(3C)


NAME    [Toc]    [Back]

     getdtablehi - get largest open file descriptor index

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int getdtablehi(void);

DESCRIPTION    [Toc]    [Back]

     getdtablehi returns the index of the largest open descriptor for the
     calling process plus one.	The 'plus one' makes getdtablehi an ideal
     replacement for getdtablesize(2) when the program wishes simply to	loop
     through and act on	all open file descriptors, rather than up to the
     system maximum.

SEE ALSO    [Toc]    [Back]

      
      
     close(2), getdtablesize(2), intro(2), open(2), select(2), setrlimit(2)
     dup(3C).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
dup IRIX duplicate an open file descriptor
dup2 IRIX duplicate an open file descriptor
dup HP-UX duplicate an open file descriptor
AFidentifyfd IRIX retrieve the audio file format of a file descriptor / open AFfilehandle
dup2 HP-UX duplicate an open file descriptor to a specific slot
DtMmdbGetBookCaseByIndex HP-UX obtains a descriptor for a bookcase based on an infolib index
ldgetpd IRIX retrieve procedure descriptor given a procedure descriptor index
ldgetpd Tru64 retrieves procedure descriptor given a procedure descriptor index
pxfisatty IRIX Determines if file descriptor corresponds to a valid file descriptor
fattach Tru64 Attach a STREAMS-based file descriptor to a file in the file system name space
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service