Home
last modified time | relevance | path

Searched refs:tmpf (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dgoback.c60 fclose(tmpf);
71 tmpf = doopen(lettmp, "r+", E_TMP);
73 fseek(tmpf, let[letnum].adr, 0);
75 for (fgets(line, LSIZE, tmpf);
111 fgets(line, LSIZE, tmpf);
114 fclose(tmpf);
115 tmpf = doopen(lettmp, "r+", E_TMP);
H A Dcopyback.c61 fclose(tmpf); in copyback()
62 tmpf = doopen(lettmp, "a", E_TMP); in copyback()
66 if (!copystream(malf, tmpf)) { in copyback()
72 fclose(tmpf); in copyback()
73 tmpf = doopen(lettmp, "r+", E_TMP); in copyback()
H A Dmkdead.c45 if (!tmpf) in mkdead()
75 fclose(tmpf); in mkdead()
94 aret = fseek(tmpf,0L,0); in mkdead()
97 if (!copystream(tmpf, malf)) in mkdead()
H A Dprintmail.c162 copymt(malf, tmpf); in printmail()
165 fclose(tmpf); in printmail()
167 tmpf = doopen(lettmp, "r+", E_TMP); in printmail()
220 fclose(tmpf); in printmail()
221 tmpf = doopen(lettmp, "a", E_TMP); in printmail()
223 copymt(malf, tmpf); in printmail()
226 fclose(tmpf); in printmail()
228 tmpf = doopen(lettmp, "r+", E_TMP); in printmail()
H A Ddone.c93 if (tmpf)
94 fclose(tmpf);
H A Dgethead.c205 fclose(tmpf); in tmperr()
216 if (fwrite(str, 1, length, tmpf) != length) { in wtmpf()
246 if (fd < 0 || (tmpf = fdopen(fd, "w+")) == NULL) { in mktmp()
H A Dcopylet.c99 fseek(tmpf, let[letnum].adr, 0); in xxxcopylet()
105 if (fgets (buf, num, tmpf) == NULL) { in xxxcopylet()
283 if (fgets (buf, num, tmpf) == NULL) { in xxxcopylet()
378 if ((n = fread (buf, 1, num, tmpf)) <= 0) { in xxxcopylet()
H A Dsendmail.c396 let[1].adr = ftell(tmpf); in sendmail()
425 if (fclose(tmpf) == EOF) { in sendmail()
430 tmpf = doopen(lettmp, "r+", E_TMP); in sendmail()
H A Dinit.c250 FILE *tmpf; /* file pointer for temporary files */ variable
H A Dmail.h458 extern FILE *tmpf; /* file pointer for temporary files */
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dipropd_svc.c234 char tmpf[MAX_FILENAME] = {0}; in iprop_full_resync_1() local
298 (void) strcpy(tmpf, "/var/krb5/slave_datatrans_"); in iprop_full_resync_1()
299 if (strlcat(tmpf, clhost, sizeof (tmpf)) >= sizeof (tmpf)) { in iprop_full_resync_1()
303 (sizeof (tmpf) - 1)); in iprop_full_resync_1()
315 if (strlcat(ubuf, tmpf, sizeof (ubuf)) >= sizeof (ubuf)) { in iprop_full_resync_1()
366 whoami, tmpf, clhost)); in iprop_full_resync_1()
367 pret = execl("/usr/lib/krb5/kprop", "kprop", "-f", tmpf, in iprop_full_resync_1()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dvacation.c748 FILE *f, *fpipe, *tmpf; local
811 tmpf = fdopen(tmpfd, "w");
812 if (tmpf == NULL) {
829 fputs("\n", tmpf);
836 fputs(line, tmpf);
842 fputs(Subject, tmpf);
846 fputs(p+8, tmpf);
850 fputs(line, tmpf);
853 fclose(tmpf);
874 if (tmpf == NULL) {
[all …]
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc189 static char tmpf[MAXPATHLEN]; // for reading sym-link in get_realfile() local
200 err = readlink(path, tmpf, in get_realfile()
201 (sizeof (tmpf) - 1)); in get_realfile()
203 tmpf[err] = '\0'; in get_realfile()
204 path = tmpf; in get_realfile()
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c537 char *tmpf; in modules() local
571 if ((tmpf = malloc(strlen(MODULES_TMPFILE) + 1)) == NULL) { in modules()
634 (void) strcpy(tmpf, MODULES_TMPFILE); in modules()
635 if ((sorted_fname = mktemp(tmpf)) == NULL || in modules()
721 free(tmpf); in modules()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc119 char *tmpf; in createfile() local
143 tmpf = mktemp(tmpstr); in createfile()
146 err = createfile(tmpf); in createfile()
147 if ((err == AUDIO_SUCCESS) && (unlink(tmpf) < 0)) { in createfile()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dsubshell.sh554 tmpf=$tmp/foo
562 print -n $(fun1 2> $tmpf)
563 [[ $(< $tmpf) == *SUCCESS ]] || err_exit 'standard error output lost with command substitution'
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c1594 ipqos_conf_filter_t *tmpf; in difffilters() local
1629 if (tmpf->src_nd_name || tmpf->dst_nd_name || in difffilters()
1633 maxi = tmpf->instance; in difffilters()
1639 tmpf->name, tmpf->instance); in difffilters()
1641 tmpf->todel = B_TRUE; in difffilters()
1647 if (tmpf->instance > maxi) { in difffilters()
1648 maxi = tmpf->instance; in difffilters()
1651 tmpf = tmpf->next; in difffilters()
1652 } while (tmpf != NULL && in difffilters()
1653 strcmp(tmpf->name, flt->name) == 0); in difffilters()
[all …]