Home | History | Annotate | Download | only in src

Lines Matching defs:sb

1215 	struct stat sb;
1217 if (stat(fn, &sb) < 0)
1224 if (mode == X_OK && (!S_ISREG(sb.st_mode) ||
1225 !(sb.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))))
1227 return (S_ISDIR(sb.st_mode) ? EISDIR : EACCES);