Project

General

Profile

Bug #9409 » test.c

ganaware (Nayuta Taga), 01/15/2014 02:00 AM

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

int main() {
struct dirent *d;
DIR *dir = opendir(".");
while ((d = readdir(dir))) {
printf("%s\n", d->d_name);
}
closedir(dir);
return 0;
}
    (1-1/1)