OpenBSD manual page server

Manual Page Search Parameters

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.

May 31, 2015 OpenBSD-6.5