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

/illumos-gate/usr/src/cmd/mail/
H A Ddone.c95 if (tmpf)
96 fclose(tmpf);
H A Dmkdead.c45 if (!tmpf)
75 fclose(tmpf);
94 aret = fseek(tmpf,0L,0);
97 if (!copystream(tmpf, malf))
H A Dcopyback.c63 fclose(tmpf);
64 tmpf = doopen(lettmp, "a", E_TMP);
68 if (!copystream(malf, tmpf)) {
74 fclose(tmpf);
75 tmpf = doopen(lettmp, "r+", E_TMP);
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 Dprintmail.c164 copymt(malf, tmpf);
167 fclose(tmpf);
169 tmpf = doopen(lettmp, "r+", E_TMP);
222 fclose(tmpf);
223 tmpf = doopen(lettmp, "a", E_TMP);
225 copymt(malf, tmpf);
228 fclose(tmpf);
230 tmpf = doopen(lettmp, "r+", E_TMP);
H A Dcopylet.c101 fseek(tmpf, let[letnum].adr, 0);
107 if (fgets (buf, num, tmpf) == NULL) {
285 if (fgets (buf, num, tmpf) == NULL) {
381 if ((n = fread (buf, 1, num, tmpf)) <= 0) {
H A Dgethead.c205 fclose(tmpf);
216 if (fwrite(str, 1, length, tmpf) != length) {
246 if (fd < 0 || (tmpf = fdopen(fd, "w+")) == NULL) {
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 */
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dipropd_svc.c234 char tmpf[MAX_FILENAME] = {0}; local
298 (void) strcpy(tmpf, "/var/krb5/slave_datatrans_");
299 if (strlcat(tmpf, clhost, sizeof (tmpf)) >= sizeof (tmpf)) {
303 (sizeof (tmpf) - 1));
315 if (strlcat(ubuf, tmpf, sizeof (ubuf)) >= sizeof (ubuf)) {
366 whoami, tmpf, clhost));
367 pret = execl("/usr/lib/krb5/kprop", "kprop", "-f", tmpf,
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc191 static char tmpf[MAXPATHLEN]; // for reading sym-link local
202 err = readlink(path, tmpf,
203 (sizeof (tmpf) - 1));
205 tmpf[err] = '\0';
206 path = tmpf;
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioFile.cc124 char *tmpf; local
148 tmpf = mktemp(tmpstr);
151 err = createfile(tmpf);
152 if ((err == AUDIO_SUCCESS) && (unlink(tmpf) < 0)) {
/illumos-gate/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) argument
202 if (tmpf != NULL) {
203 (void) unlink(tmpf);
204 (void) free(tmpf);
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c539 char *tmpf; local
573 if ((tmpf = malloc(strlen(MODULES_TMPFILE) + 1)) == NULL) {
636 (void) strcpy(tmpf, MODULES_TMPFILE);
637 if ((sorted_fname = mktemp(tmpf)) == NULL ||
723 free(tmpf);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c1594 ipqos_conf_filter_t *tmpf; local
1605 if ((tmpf = filterexist(flt->name, -1, old->filters)) == NULL) {
1629 if (tmpf->src_nd_name || tmpf->dst_nd_name ||
1633 maxi = tmpf->instance;
1639 tmpf->name, tmpf->instance);
1641 tmpf->todel = B_TRUE;
1647 if (tmpf->instance > maxi) {
1648 maxi = tmpf
[all...]

Completed in 1255 milliseconds