Hi Pelle,
im really surprised no one ran against this before:
struct dirent in Pelles c only has a dummy and the name but what about the most important Member
d_type ?
d_type==DT_DIR means its a directory
d_type==DT_REG means its a regular file
Without it the functions opendir readdir .. .. are useless becaus i cannot see whats a file and whats a directory
PS im working with version 5.00.6 of PellesC
Greetings
Seltsamuel