xref: /freebsd/contrib/mandoc/test-dirent-namlen.c (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1 #include <sys/types.h>
2 #include <dirent.h>
3 
4 int
5 main(void)
6 {
7 	struct dirent	 entry;
8 
9 	return sizeof(entry.d_namlen) == 0;
10 }
11