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

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

Completed in 69 milliseconds