Lines Matching defs:usefile
619 static char *usefile;
775 if ((usefile = getenv("TAPE")) == (char *)NULL) {
782 usefile = NULL;
802 usefile = *argv++;
958 if (usefile == NULL)
1010 if (cflag && usefile != NULL) {
1036 if (strcmp(usefile, "-") != 0) {
1084 if (strcmp(usefile, "-") == 0) {
1093 mt = open(usefile,
1096 mt = open(usefile, O_RDWR);
1099 if (cflag == 0 || (mt = creat(usefile, 0666))
1101 vperror(1, "%s", usefile);
1157 if (strcmp(usefile, "-") == 0) {
1162 } else if ((mt = open(usefile, 0)) < 0)
1163 vperror(1, "%s", usefile);
1167 if (strcmp(usefile, "-") != 0) {
4872 if (strcmp(usefile, "-") == 0) {
4875 mt = open(usefile, dumping ? update : 0);
4881 dumping ? gettext("output") : gettext("input"), usefile);
4883 dlog("update=%d, usefile=%s ", update, usefile);
5427 * - initializes 'usefile', 'nblock', and 'blocklim', and 'NotTape'.
5428 * - 'usefile' points to static data, so will be overwritten
5454 if ((usefile = strtok(bp, " \t")) == NULL) {
5478 dlog("defset: archive='%s'; usefile='%s'\n", arch, usefile);
9241 usefile, compress_opt);
9246 usefile, NULL);
9252 (void) rename(tfname, usefile);
9269 if ((fp = fopen(usefile, "r")) != NULL) {
9312 (void) strcpy(tfname, usefile);
9347 (void) rename(usefile, tfname);
9353 "'%s'...\n"), usefile, compress_opt);
9365 *(usefile + strlen(usefile) - strlen(suffix)) = '\0';
9378 "'%s'...\n"), usefile, compress_opt);
9407 "'%s'...\n"), usefile, compress_opt);
9434 int nlen = strlen(usefile);
9440 if (strcmp(usefile + nlen - slen, suf[i]) == 0)