Home
last modified time | relevance | path

Searched refs:tempEdit (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/mailx/
H A Dcollect.c850 if (stat(tempEdit, &sbuf) >= 0) { in mesedit()
851 printf(gettext("%s: file exists\n"), tempEdit); in mesedit()
854 if ((fd = open(tempEdit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in mesedit()
856 perror(tempEdit); in mesedit()
866 perror(tempEdit); in mesedit()
867 removefile(tempEdit); in mesedit()
883 removefile(tempEdit); in mesedit()
891 execlp(edit, edit, tempEdit, (char *)0); in mesedit()
897 snprintf(ecmd, sizeof (ecmd), "exec %s %s", edit, tempEdit); in mesedit()
918 if ((fbuf = fopen(tempEdit, "r")) == NULL) { in mesedit()
[all …]
H A Dnames.c234 fd = open(tempEdit, O_CREAT|O_EXCL|O_APPEND|O_WRONLY, in outof()
237 if ((fd = open(tempEdit, O_APPEND|O_WRONLY, in outof()
239 perror(tempEdit); in outof()
245 perror(tempEdit); in outof()
249 image = open(tempEdit, O_RDWR); in outof()
250 unlink(tempEdit); in outof()
252 perror(tempEdit); in outof()
265 perror(tempEdit); in outof()
H A Dtemp.c68 snprintf(tempEdit, TMPSIZ, "/tmp/Re%-ld", pid); in tinit()
H A Dinit.c148 char tempEdit[TMPSIZ]; variable
/titanic_41/usr/src/cmd/mailx/hdr/
H A Dglob.h126 extern char tempEdit[]; /* ???? */