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