Lines Matching defs:stb1
47 struct stat stb1, stb2;
325 * Do sanity checks, fill in stb1 and stb2 and call the appropriate
326 * driver routine. Both drivers use the contents of stb1 and stb2.
333 fstat(STDIN_FILENO, &stb1);
335 } else if (stat(argv[0], &stb1) != 0) {
339 memset(&stb1, 0, sizeof(struct stat));
350 stb2.st_mode = stb1.st_mode;
359 if (stb1.st_mode == 0)
360 stb1.st_mode = stb2.st_mode;
362 if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode)))
365 if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
370 if (S_ISDIR(stb1.st_mode)) {
372 if (stat(argv[0], &stb1) == -1)