Craig Rodrigues 1bbc47cb35 Implemtn getdtablecount() to count open file descriptors for current process.
Use underlying sysctl implemented by mjg in r290473.

PR:                    194985
Reviewed by:           bapt, mjg
Differential Revision: https://reviews.freebsd.org/D4084
2015-11-14 23:07:38 +00:00

13 lines
129 B
Makefile

# $FreeBSD$
LIB= openbsd
SRCS= getdtablecount.c \
ohash.c
INTERNALLIB=
CFLAGS+= -I${.CURDIR}
WARNS= 3
.include <bsd.lib.mk>