Lines Matching defs:sb
121 struct stat sb;
123 if (stat(fileName, &sb) < 0) {
132 if (S_ISREG(sb.st_mode))
134 else if (S_ISDIR(sb.st_mode))
136 else if (S_ISCHR(sb.st_mode))
138 else if (S_ISBLK(sb.st_mode))
140 else if (S_ISFIFO(sb.st_mode))
143 else if (S_ISLNK(sb.st_mode))
145 else if (S_ISSOCK(sb.st_mode))
158 struct stat sb;
160 if (stat(fileName, &sb) < 0)
163 return sb.st_mtime;