So I am trying to list all the files in a directory except for "." and "..", it seems simple enough. So I try this test program:


#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
...