Lines Matching defs:sb
46 struct stat sb;
48 if (stat(fileName, &sb) < 0) {
57 if (S_ISREG(sb.st_mode))
59 else if (S_ISDIR(sb.st_mode))
61 else if (S_ISCHR(sb.st_mode))
63 else if (S_ISBLK(sb.st_mode))
65 else if (S_ISFIFO(sb.st_mode))
68 else if (S_ISLNK(sb.st_mode))
70 else if (S_ISSOCK(sb.st_mode))
83 struct stat sb;
85 if (stat(fileName, &sb) < 0)
88 return sb.st_mtime;