Lines Matching defs:stat
55 #include <sys/types.h> /* for stat(2), etc. */
56 #include <sys/stat.h>
201 struct stat tx_stat;
239 struct stat stat; /* determine if it's a symlink */
283 if (lstat(tape[i].name, &stat) < 0) {
284 perror("stat(2) failed ");
287 if ((stat.st_mode & S_IFMT) != S_IFLNK)
449 struct stat stat; /* determine if it's a symlink */
490 if (lstat(audio[i].name, &stat) < 0) {
491 perror(gettext("stat(2) failed "));
494 if ((stat.st_mode & S_IFMT) != S_IFLNK)
653 struct stat stat; /* determine if it's a symlink */
698 if (lstat(fp[i].name, &stat) < 0) {
699 perror(gettext("stat(2) failed "));
702 if ((stat.st_mode&S_IFMT) != S_IFLNK)
820 struct stat stat; /* determine if it's a symlink */
865 if (lstat(cd[i].name, &stat) < 0) {
866 perror(gettext("stat(2) failed "));
869 if ((stat.st_mode & S_IFMT) != S_IFLNK)