getstablesize() — Get the socket table size

Standards

Standards / Extensions C or C++ Dependencies
z/OS® UNIX both  

Format

#define _OPEN_SYS_SOCK_EXT
#include <sys/socket.h>

int getstablesize(void);

General description

Bulk mode sockets are not supported. Do not use this function.

Returned value

If successful, getstablesize() returns the current limit for this process.

If it has not been changed by the maxdesc() function, then the default is returned. The default is the hard limit returned by getrlimit() for RLIMIT_NOFILE. This is the value set by a BPXPRMnn parmlib member on its MAXFILEPROC statement.

There are no errno values defined.

Related information