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