blob: 56d150731a5b077ebf9e409c1169c168f7c954f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: getdtablesize.c,v 1.2 1996/08/19 08:19:20 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <unistd.h>
int
getdtablesize()
{
return sysconf(_SC_OPEN_MAX);
}
|