Lines Matching refs:sb
24 struct stat sb; in main() local
31 if (stat(paths[i], &sb) != 0) in main()
36 printf("%14s %6ld: %s%s%s %s %s %s %s\n", paths[i], sb.st_size, in main()
38 printf("%14s %6lld: %s%s%s %s %s %s %s\n", paths[i], sb.st_size, in main()
40 ((sb.st_mode & S_IRUSR)? "r" : " "), in main()
41 ((sb.st_mode & S_IWUSR)? "w" : " "), in main()
42 ((sb.st_mode & S_IXUSR)? "x" : " "), in main()
43 (((sb.st_mode & S_IFMT) == S_IFREG)? "REG" : " "), in main()
44 (((sb.st_mode & S_IFMT) == S_IFDIR)? "DIR" : " "), in main()
45 (((sb.st_mode & S_IFMT) == S_IFLNK)? "LNK" : " "), in main()
46 (((sb.st_mode & S_IFMT) == S_IFCHR)? "CHR" : " ")); in main()