Return to test-dirent-namlen.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
File: [cvsweb.bsd.lv] / mandoc / test-dirent-namlen.c (download)
Revision 1.1, Mon Aug 11 03:19:39 2014 UTC (10 years, 1 month ago) by schwarze
work around lack of d_namlen and ALIGN/ALIGNBYTES on Linux |
#include <sys/types.h> #include <dirent.h> int main(void) { struct dirent entry; return (sizeof(entry.d_namlen) == 0); }