GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/libc/gen/dirfd.c Lines: 0 1 0.0 %
Date: 2017-11-13 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*
2
 * Written by Matthew Dempsky, 2011.
3
 * Public domain.
4
 */
5
6
#include <dirent.h>
7
#include "telldir.h"
8
9
int
10
dirfd(DIR *dirp)
11
{
12
	return (dirp->dd_fd);
13
}
14
DEF_WEAK(dirfd);