[BACK]Return to test-dirent-namlen.c CVS log [TXT][DIR] 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 (6 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_3, VERSION_1_13_2

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);
}