GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/libc/gen/dirfd.c Lines: 1 1 100.0 %
Date: 2017-11-07 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
7576
	return (dirp->dd_fd);
13
}
14
DEF_WEAK(dirfd);