1 void LS(
const char *path=0)
3 if (!path || !path[0]) path = gSystem->WorkingDirectory();
7 void *dir = gSystem->OpenDirectory(mypath);
10 while ((name = gSystem->GetDirEntry(dir))) {
12 full+=
"/"; full+=name;
13 Long_t id,size,flags,modtime;
14 gSystem->GetPathInfo(full, &
id,&size,&flags,&modtime);
15 printf(
"%10d - %s\n",size,name);