GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/libc/compat-43/getdtablesize.c Lines: 1 1 100.0 %
Date: 2017-11-07 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*	$OpenBSD: getdtablesize.c,v 1.4 2005/08/08 08:05:33 espie Exp $ */
2
/*
3
 * Written by J.T. Conklin <jtc@netbsd.org>.
4
 * Public domain.
5
 */
6
7
#include <unistd.h>
8
9
int
10
getdtablesize(void)
11
{
12
4
	return sysconf(_SC_OPEN_MAX);
13
}