printf("%s:\\n", name); struct stat buf; if(stat(name, &buf) < 0) { printf("\\tCannot stat it -- errno=%d\\n", errno);