1 2 3 4 5 6 7 8 9 10
#include <sys/types.h> #include <dirent.h> int main(void) { struct dirent entry; return (sizeof(entry.d_namlen) == 0); }