xref: /freebsd/contrib/mandoc/test-dirent-namlen.c (revision 2008043f386721d58158e37e0d7e50df8095942d)
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