Lines Matching refs:usefile
624 static char *usefile; variable
776 if ((usefile = getenv("TAPE")) == (char *)NULL) { in main()
783 usefile = NULL; in main()
803 usefile = *argv++; in main()
958 if (usefile == NULL) in main()
1010 if (cflag && usefile != NULL) { in main()
1036 if (strcmp(usefile, "-") != 0) { in main()
1084 if (strcmp(usefile, "-") == 0) { in main()
1093 mt = open(usefile, in main()
1096 mt = open(usefile, O_RDWR); in main()
1099 if (cflag == 0 || (mt = creat(usefile, 0666)) in main()
1101 vperror(1, "%s", usefile); in main()
1157 if (strcmp(usefile, "-") == 0) { in main()
1162 } else if ((mt = open(usefile, 0)) < 0) in main()
1163 vperror(1, "%s", usefile); in main()
1167 if (strcmp(usefile, "-") != 0) { in main()
4817 if (strcmp(usefile, "-") == 0) { in newvol()
4820 mt = open(usefile, dumping ? update : 0); in newvol()
4826 dumping ? gettext("output") : gettext("input"), usefile); in newvol()
4829 DEBUG("update=%d, usefile=%s ", update, usefile); in newvol()
5415 if ((usefile = strtok(bp, " \t")) == NULL) { in defset()
5440 DEBUG("defset: archive='%s'; usefile='%s'\n", arch, usefile); in defset()
9200 usefile, compress_opt); in compress_back()
9205 usefile, NULL); in compress_back()
9211 (void) rename(tfname, usefile); in compress_back()
9228 if ((fp = fopen(usefile, "r")) != NULL) { in check_compression()
9271 (void) strcpy(tfname, usefile); in add_suffix()
9306 (void) rename(usefile, tfname); in decompress_file()
9312 "'%s'...\n"), usefile, compress_opt); in decompress_file()
9324 *(usefile + strlen(usefile) - strlen(suffix)) = '\0'; in decompress_file()
9337 "'%s'...\n"), usefile, compress_opt); in compress_file()
9366 "'%s'...\n"), usefile, compress_opt); in uncompress_file()
9393 int nlen = strlen(usefile); in check_suffix()
9399 if (strcmp(usefile + nlen - slen, suf[i]) == 0) in check_suffix()