Lines Matching refs:usefile

620 static	char	*usefile;  variable
776 if ((usefile = getenv("TAPE")) == (char *)NULL) { in main()
783 usefile = NULL; in main()
803 usefile = *argv++; in main()
959 if (usefile == NULL) in main()
1011 if (cflag && usefile != NULL) { in main()
1037 if (strcmp(usefile, "-") != 0) { in main()
1085 if (strcmp(usefile, "-") == 0) { in main()
1094 mt = open(usefile, in main()
1097 mt = open(usefile, O_RDWR); in main()
1100 if (cflag == 0 || (mt = creat(usefile, 0666)) in main()
1102 vperror(1, "%s", usefile); in main()
1158 if (strcmp(usefile, "-") == 0) { in main()
1163 } else if ((mt = open(usefile, 0)) < 0) in main()
1164 vperror(1, "%s", usefile); in main()
1168 if (strcmp(usefile, "-") != 0) { in main()
4873 if (strcmp(usefile, "-") == 0) { in newvol()
4876 mt = open(usefile, dumping ? update : 0); in newvol()
4882 dumping ? gettext("output") : gettext("input"), usefile); in newvol()
4884 dlog("update=%d, usefile=%s ", update, usefile); in newvol()
5455 if ((usefile = strtok(bp, " \t")) == NULL) { in defset()
5479 dlog("defset: archive='%s'; usefile='%s'\n", arch, usefile); in defset()
9242 usefile, compress_opt); in compress_back()
9247 usefile, NULL); in compress_back()
9253 (void) rename(tfname, usefile); in compress_back()
9270 if ((fp = fopen(usefile, "r")) != NULL) { in check_compression()
9313 (void) strcpy(tfname, usefile); in add_suffix()
9348 (void) rename(usefile, tfname); in decompress_file()
9354 "'%s'...\n"), usefile, compress_opt); in decompress_file()
9366 *(usefile + strlen(usefile) - strlen(suffix)) = '\0'; in decompress_file()
9379 "'%s'...\n"), usefile, compress_opt); in compress_file()
9408 "'%s'...\n"), usefile, compress_opt); in uncompress_file()
9435 int nlen = strlen(usefile); in check_suffix()
9441 if (strcmp(usefile + nlen - slen, suf[i]) == 0) in check_suffix()