1994-06-14 07:54:48 +04:00
|
|
|
/*
|
1995-05-12 03:03:44 +04:00
|
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
|
|
* Public domain.
|
1994-06-14 07:54:48 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(LIBC_SCCS) && !defined(lint)
|
1995-05-12 03:03:44 +04:00
|
|
|
static char *rcsid = "$NetBSD: getdtablesize.c,v 1.3 1995/05/11 23:03:44 jtc Exp $";
|
1994-06-14 07:54:48 +04:00
|
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
getdtablesize()
|
|
|
|
{
|
|
|
|
return sysconf(_SC_OPEN_MAX);
|
1994-06-14 09:25:36 +04:00
|
|
|
}
|