OpenBSD Handbook Manuals
Search

getdtablecount(2)

Canonical URL: /getdtablecount.2/

GETDTABLECOUNT(2) System Calls Manual GETDTABLECOUNT(2)

getdtablecountget descriptor table count

#include <unistd.h>

int
getdtablecount(void);

() returns the number of file descriptors the process currently has open.

getrlimit(2), getdtablesize(3)

The getdtablecount() function appeared in OpenBSD 5.2.

OpenBSD 7.8 May 31, 2015 GETDTABLECOUNT(2)

Need conceptual guidance? Continue in the OpenBSD Handbook.