DIR_BUFFER_SIZE
DIR* dir = (DIR*)malloc(DIR_BUFFER_SIZE);
(char*)dir + DIR_BUFFER_SIZE - (char*)&dir->first_entry, USHRT_MAX);