Searched refs:statb (Results 1 – 4 of 4) sorted by relevance
84 struct stat statb; in cdcmd() local125 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { in cdcmd()155 struct stat statb; in docd() local187 if ((lstat(stackblock(), &statb) < 0) in docd()188 || (S_ISLNK(statb.st_mode))) { in docd()
342 struct stat statb; in find_dot_file() local349 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) { in find_dot_file()
433 struct stat statb; in find_command() local440 while (stat(name, &statb) < 0) { in find_command()534 while (stat(fullname, &statb) < 0) { in find_command()544 if (!S_ISREG(statb.st_mode)) in find_command()560 if (statb.st_uid == geteuid()) { in find_command()561 if ((statb.st_mode & 0100) == 0) in find_command()563 } else if (statb.st_gid == getegid()) { in find_command()564 if ((statb.st_mode & 010) == 0) in find_command()567 if ((statb.st_mode & 01) == 0) in find_command()
1130 struct stat statb; in expmeta() local1183 if (metaflag == 0 || lstat(expdir, &statb) >= 0) in expmeta()