Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 9 of 9) sorted by relevance

/original-bsd/usr.bin/mail/
H A Dtemp.c27 char *tmpdir; variable
35 if ((tmpdir = getenv("TMPDIR")) == NULL) in tinit()
36 tmpdir = _PATH_TMP; in tinit()
38 len = strlen(tmpdir); in tinit()
43 (void)strcpy(cp, tmpdir); in tinit()
46 tmpdir = cp; in tinit()
49 strcpy(tempMail, tmpdir); in tinit()
51 strcpy(tempResid, tmpdir); in tinit()
53 strcpy(tempQuit, tmpdir); in tinit()
55 strcpy(tempEdit, tmpdir); in tinit()
[all …]
H A Dfio.c35 extern char *tmpdir;
45 (void)sprintf(linebuf, "%s/mail.XXXXXX", tmpdir);
H A Dquit.c361 extern char *tmpdir; in edstop()
396 strcpy(tempname, tmpdir); in edstop()
/original-bsd/usr.bin/yacc/
H A Dmain.c250 char *tmpdir; in create_file_names() local
252 tmpdir = getenv("TMPDIR"); in create_file_names()
253 if (tmpdir == 0) tmpdir = "/tmp"; in create_file_names()
255 len = strlen(tmpdir); in create_file_names()
257 if (len && tmpdir[len-1] != '/') in create_file_names()
267 strcpy(action_file_name, tmpdir); in create_file_names()
268 strcpy(text_file_name, tmpdir); in create_file_names()
269 strcpy(union_file_name, tmpdir); in create_file_names()
271 if (len && tmpdir[len - 1] != '/') in create_file_names()
/original-bsd/usr.bin/pascal/pc/
H A Dpc.c40 char *tmpdir = _PATH_TMP; variable
178 tmpdir = argv[i];
179 if (tmpdir[0] == '-') {
266 sprintf(tmp0, "%s/%s", tmpdir, "p0XXXXXX");
268 sprintf(tmp1, "%s/%s", tmpdir, "p1XXXXXX");
282 asargs[asargx++] = tmpdir;
337 asargs[asargx++] = tmpdir;
/original-bsd/usr.bin/sed/TEST/
H A Dsed.test425 rm -rf tmpdir
426 mkdir tmpdir
428 cat tmpdir/*
429 rm -rf tmpdir
/original-bsd/bin/csh/
H A Ddir.c624 Char tmpdir[MAXPATHLEN]; local
631 (void) Strcpy(tmpdir, p1);
632 (void) Strcat(tmpdir, STRslash);
633 (void) Strcat(tmpdir, cp);
635 cp = p = Strsave(tmpdir);
/original-bsd/contrib/gcc-2.3.3/
H A DMakefile.in1434 -./enquire -f > $(tmpdir)/float.h
1436 $(INSTALL_DATA) $(tmpdir)/float.h $(libsubdir)/include/float.h
1437 -rm -f $(tmpdir)/float.h
H A DMakefile168 tmpdir = /tmp macro
1449 -./enquire -f > $(tmpdir)/float.h
1451 $(INSTALL_DATA) $(tmpdir)/float.h $(libsubdir)/include/float.h
1452 -rm -f $(tmpdir)/float.h