/illumos-gate/usr/src/cmd/mail/ |
H A D | goback.c | 60 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 D | copyback.c | 61 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 D | mkdead.c | 45 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 D | printmail.c | 162 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 D | done.c | 93 if (tmpf) 94 fclose(tmpf);
|
H A D | gethead.c | 205 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 D | copylet.c | 99 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 D | sendmail.c | 396 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 D | init.c | 250 FILE *tmpf; /* file pointer for temporary files */ variable
|
H A D | mail.h | 458 extern FILE *tmpf; /* file pointer for temporary files */
|
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ipropd_svc.c | 234 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 D | vacation.c | 748 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 D | file.cc | 189 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 D | sysdef.c | 537 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 D | AudioFile.cc | 119 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 D | subshell.sh | 554 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 D | ipqosconf.c | 1594 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 …]
|