Remove building with NOCRYPTO option
[minix3.git] / lib / libc / compat-43 / getdtablesize.c
blob058fc8f8a9a728bbadca920d6e56c3d7d2eed990
1 /* $NetBSD: getdtablesize.c,v 1.10 2012/06/24 15:26:03 christos Exp $ */
3 /*
4 * Written by J.T. Conklin <jtc@NetBSD.org>.
5 * Public domain.
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: getdtablesize.c,v 1.10 2012/06/24 15:26:03 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #include "namespace.h"
14 #include <unistd.h>
16 int
17 getdtablesize(void)
19 return ((int)sysconf(_SC_OPEN_MAX));