Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/mail/
H A Dgoback.c63 fclose(tmpf);
74 tmpf = doopen(lettmp, "r+", E_TMP);
76 fseek(tmpf, let[letnum].adr, 0);
78 for (fgets(line, LSIZE, tmpf);
114 fgets(line, LSIZE, tmpf);
117 fclose(tmpf);
118 tmpf = doopen(lettmp, "r+", E_TMP);
H A Dcopyback.c63 fclose(tmpf); in copyback()
64 tmpf = doopen(lettmp, "a", E_TMP); in copyback()
68 if (!copystream(malf, tmpf)) { in copyback()
74 fclose(tmpf); in copyback()
75 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.c164 copymt(malf, tmpf); in printmail()
167 fclose(tmpf); in printmail()
169 tmpf = doopen(lettmp, "r+", E_TMP); in printmail()
222 fclose(tmpf); in printmail()
223 tmpf = doopen(lettmp, "a", E_TMP); in printmail()
225 copymt(malf, tmpf); in printmail()
228 fclose(tmpf); in printmail()
230 tmpf = doopen(lettmp, "r+", E_TMP); in printmail()
H A Ddone.c95 if (tmpf)
96 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.c101 fseek(tmpf, let[letnum].adr, 0); in xxxcopylet()
107 if (fgets (buf, num, tmpf) == NULL) { in xxxcopylet()
285 if (fgets (buf, num, tmpf) == NULL) { in xxxcopylet()
381 if ((n = fread (buf, 1, num, tmpf)) <= 0) { in xxxcopylet()
H A Dsendmail.c397 let[1].adr = ftell(tmpf);
426 if (fclose(tmpf) == EOF) {
431 tmpf = doopen(lettmp, "r+", E_TMP);
H A Dinit.c252 FILE *tmpf; /* file pointer for temporary files */ variable
H A Dmail.h458 extern FILE *tmpf; /* file pointer for temporary files */
/titanic_41/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()
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dvacation.c753 FILE *f, *fpipe, *tmpf; local
815 tmpf = fdopen(tmpfd, "w");
816 if (tmpf == NULL) {
833 fputs("\n", tmpf);
840 fputs(line, tmpf);
843 fputs(EncodedSubject, tmpf);
846 fputs(Subject, tmpf);
850 fputs(p+8, tmpf);
854 fputs(line, tmpf);
857 fclose(tmpf);
[all …]
/titanic_41/usr/src/cmd/audio/audioconvert/
H A Dfile.cc191 static char tmpf[MAXPATHLEN]; // for reading sym-link in get_realfile() local
202 err = readlink(path, tmpf, in get_realfile()
203 (sizeof (tmpf) - 1)); in get_realfile()
205 tmpf[err] = '\0'; in get_realfile()
206 path = tmpf; in get_realfile()
/titanic_41/usr/src/cmd/sysdef/
H A Dsysdef.c539 char *tmpf; in modules() local
573 if ((tmpf = malloc(strlen(MODULES_TMPFILE) + 1)) == NULL) { in modules()
636 (void) strcpy(tmpf, MODULES_TMPFILE); in modules()
637 if ((sorted_fname = mktemp(tmpf)) == NULL || in modules()
723 free(tmpf); in modules()
/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioFile.cc124 char *tmpf; in createfile() local
148 tmpf = mktemp(tmpstr); in createfile()
151 err = createfile(tmpf); in createfile()
152 if ((err == AUDIO_SUCCESS) && (unlink(tmpf) < 0)) { in createfile()
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNS.c42 void f_cleanup(FILE *fp, char *tmpf);
197 f_cleanup(FILE *fp, char *tmpf) in f_cleanup() argument
202 if (tmpf != NULL) { in f_cleanup()
203 (void) unlink(tmpf); in f_cleanup()
204 (void) free(tmpf); in f_cleanup()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c1599 ipqos_conf_filter_t *tmpf; in difffilters() local
1610 if ((tmpf = filterexist(flt->name, -1, old->filters)) == NULL) { in difffilters()
1634 if (tmpf->src_nd_name || tmpf->dst_nd_name || in difffilters()
1638 maxi = tmpf->instance; in difffilters()
1644 tmpf->name, tmpf->instance); in difffilters()
1646 tmpf->todel = B_TRUE; in difffilters()
1652 if (tmpf->instance > maxi) { in difffilters()
1653 maxi = tmpf->instance; in difffilters()
1656 tmpf = tmpf->next; in difffilters()
1657 } while (tmpf != NULL && in difffilters()
[all …]