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.

May 31, 2015 Linux 7.1.13-200.fc44.x86_64

Need conceptual guidance? Continue in the OpenBSD Handbook.