Lines Matching refs:usefile
619 static char *usefile; variable
775 if ((usefile = getenv("TAPE")) == (char *)NULL) { in main()
782 usefile = NULL; in main()
802 usefile = *argv++; in main()
957 if (usefile == NULL) in main()
1009 if (cflag && usefile != NULL) { in main()
1035 if (strcmp(usefile, "-") != 0) { in main()
1083 if (strcmp(usefile, "-") == 0) { in main()
1092 mt = open(usefile, in main()
1095 mt = open(usefile, O_RDWR); in main()
1098 if (cflag == 0 || (mt = creat(usefile, 0666)) in main()
1100 vperror(1, "%s", usefile); in main()
1156 if (strcmp(usefile, "-") == 0) { in main()
1161 } else if ((mt = open(usefile, 0)) < 0) in main()
1162 vperror(1, "%s", usefile); in main()
1166 if (strcmp(usefile, "-") != 0) { in main()
4871 if (strcmp(usefile, "-") == 0) { in newvol()
4874 mt = open(usefile, dumping ? update : 0); in newvol()
4880 dumping ? gettext("output") : gettext("input"), usefile); in newvol()
4882 dlog("update=%d, usefile=%s ", update, usefile); in newvol()
5453 if ((usefile = strtok(bp, " \t")) == NULL) { in defset()
5477 dlog("defset: archive='%s'; usefile='%s'\n", arch, usefile); in defset()
9240 usefile, compress_opt); in compress_back()
9245 usefile, NULL); in compress_back()
9251 (void) rename(tfname, usefile); in compress_back()
9268 if ((fp = fopen(usefile, "r")) != NULL) { in check_compression()
9311 (void) strcpy(tfname, usefile); in add_suffix()
9346 (void) rename(usefile, tfname); in decompress_file()
9352 "'%s'...\n"), usefile, compress_opt); in decompress_file()
9364 *(usefile + strlen(usefile) - strlen(suffix)) = '\0'; in decompress_file()
9377 "'%s'...\n"), usefile, compress_opt); in compress_file()
9406 "'%s'...\n"), usefile, compress_opt); in uncompress_file()
9433 int nlen = strlen(usefile); in check_suffix()
9439 if (strcmp(usefile + nlen - slen, suf[i]) == 0) in check_suffix()