Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (g - h) getdtablesize(3)
NAME
getdtablesize - Gets the file descriptor table size
LIBRARY
G-series native OSS processes: /G/system/sysnn/zosshsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zosshdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yosshdll |
SYNOPSIS
#include <unistd.h>
int getdtablesize(void);
DESCRIPTION
The getdtablesize( ) function returns the number of file descriptors that a process may allocate.
This value is one greater than the largest number that can be assigned to a newly created descrip-
tor.
NOTES
The getdtablesize( ) function can be called by native processes only.
RETURN VALUES
The getdtablesize( ) function returns the maximum number of file descriptors available.
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: close(2), open(2), select(2).
527187-017 Hewlett-Packard Company 3−31