Home
last modified time | relevance | path

Searched refs:SM_TIME_DEFAULT (Results 1 – 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailstats.c108 (void) sm_io_fputs(smioerr, SM_TIME_DEFAULT,
119 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
123 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT, "mailstats: ");
134 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
176 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
191 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
210 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
216 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
225 (void) sm_io_fputs(smioerr, SM_TIME_DEFAULT, "mailstats: ");
236 (void) sm_io_fputs(smioerr, SM_TIME_DEFAULT,
[all …]
H A Dmakemap.c60 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
63 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
66 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
194 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
237 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
240 sm_io_fprintf(smioerr, SM_TIME_DEFAULT, "makemap: %s: %s",
244 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
271 SM_TIME_DEFAULT,
281 SM_TIME_DEFAULT,
296 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
[all …]
H A Dpraliases.c101 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
116 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
119 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
125 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
157 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
160 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
226 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
282 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
293 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
310 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
[all …]
H A Dsmrsh.c127 (void)sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
175 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
210 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
236 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
295 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
308 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
314 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
332 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
346 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
393 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c291 s = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT, (void *) &sock,
301 (void) sm_io_setvbuf(s, SM_TIME_DEFAULT, NULL,
304 if (sm_io_fgets(s, SM_TIME_DEFAULT, inp, sizeof(inp)) == NULL)
306 (void) sm_io_close(s, SM_TIME_DEFAULT);
309 (void) sm_io_flush(s, SM_TIME_DEFAULT);
350 (void) sm_io_fprintf(s, SM_TIME_DEFAULT, "OK\r\n");
355 (void) sm_io_fprintf(s, SM_TIME_DEFAULT, "OK\r\n");
381 (void) sm_io_fprintf(s, SM_TIME_DEFAULT,
391 (void) sm_io_fprintf(s, SM_TIME_DEFAULT,
409 (void) sm_io_fprintf(s, SM_TIME_DEFAULT,
[all …]
H A Dutil.c608 (void) sm_io_fprintf(Pidf, SM_TIME_DEFAULT, "%ld\n",
612 (void) sm_io_fprintf(Pidf, SM_TIME_DEFAULT, "%s\n",
616 (void) sm_io_flush(Pidf, SM_TIME_DEFAULT);
644 (void) sm_io_close(Pidf, SM_TIME_DEFAULT); in close_sendmail_pid()
726 (void) sm_io_putc(fp, SM_TIME_DEFAULT, ' ');
732 (void) sm_io_putc(fp, SM_TIME_DEFAULT, '\n');
783 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "%s<null>%s",
791 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "%s",
799 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT,
810 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT,
[all …]
H A Dmci.c237 (void) sm_io_close(mci->mci_in, SM_TIME_DEFAULT);
239 (void) sm_io_close(mci->mci_out, SM_TIME_DEFAULT);
432 (void) sm_io_close(mci->mci_out, SM_TIME_DEFAULT);
444 (void) sm_io_close(mci->mci_in, SM_TIME_DEFAULT);
651 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "%s\n", buf);
756 (void) sm_io_close(mci->mci_statfile, SM_TIME_DEFAULT);
812 (void) sm_io_close(mci->mci_statfile, SM_TIME_DEFAULT);
889 (void) sm_io_close(fp, SM_TIME_DEFAULT);
945 sm_io_rewind(fp, SM_TIME_DEFAULT);
948 while (sm_io_fgets(fp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
[all …]
H A Dmain.c141 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT, \
148 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT, \
424 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
429 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
446 smdebug = sm_io_open(SmFtStdio, SM_TIME_DEFAULT,
460 (void) sm_io_setvbuf(sm_debug_file(), SM_TIME_DEFAULT,
472 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
496 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
1143 SM_TIME_DEFAULT,
1148 SM_TIME_DEFAULT,
[all …]
H A Dqueue.c399 (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
468 if (tfd < 0 || (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
560 if (dfd < 0 || (dfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
597 if (sm_io_close(dfp, SM_TIME_DEFAULT) < 0)
610 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "V%d\n", QF_VERSION);
613 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "T%ld\n", (long) e->e_ctime);
616 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "K%ld\n", (long) e->e_dtime);
619 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "N%d\n", e->e_ntries);
622 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "P%ld\n", e->e_msgpriority);
631 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "d%s\n",
[all …]
H A Dcollect.c363 c = sm_io_getc(fp, SM_TIME_DEFAULT);
394 SM_TIME_DEFAULT,
399 SM_TIME_DEFAULT,
403 SM_TIME_DEFAULT,
478 (void) sm_io_ungetc(fp, SM_TIME_DEFAULT,
515 (void) sm_io_putc(df, SM_TIME_DEFAULT,
613 c = sm_io_getc(fp, SM_TIME_DEFAULT);
634 (void) sm_io_ungetc(fp, SM_TIME_DEFAULT, c);
687 (void) sm_io_putc(df, SM_TIME_DEFAULT,
727 else if (sm_io_flush(df, SM_TIME_DEFAULT) != 0 || sm_io_error(df))
[all …]
H A Dsfsasl.c130 (void) sm_io_setvbuf(so->fp, SM_TIME_DEFAULT, NULL, SM_IO_NOW, 0);
158 sm_io_close(so->fp, SM_TIME_DEFAULT);
220 len = sm_io_read(so->fp, SM_TIME_DEFAULT, buf, size);
332 ret = sm_io_write(so->fp, SM_TIME_DEFAULT,
375 SM_TIME_DEFAULT);
386 SM_TIME_DEFAULT);
389 newin = sm_io_open(&sasl_vector, SM_TIME_DEFAULT, &info,
397 newout = sm_io_open(&sasl_vector, SM_TIME_DEFAULT, &info,
402 (void) sm_io_close(newin, SM_TIME_DEFAULT);
519 (void) sm_io_setvbuf(so->fp, SM_TIME_DEFAULT, NULL, SM_IO_NOW, 0);
[all …]
H A Dreadcf.c143 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
436 SM_TIME_DEFAULT,
470 SM_TIME_DEFAULT,
699 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
716 (void) sm_io_close(cf, SM_TIME_DEFAULT);
1108 f = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT,
1135 while (sm_io_fgets(f, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
1160 (void) sm_io_close(f, SM_TIME_DEFAULT);
1497 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
1506 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
[all …]
H A Dmime.c325 while (sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf, sizeof(buf))
369 while (sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf, sizeof(buf))
440 offset = sm_io_tell(e->e_dfp, SM_TIME_DEFAULT);
446 while (sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf, sizeof(buf))
472 if (sm_io_seek(e->e_dfp, SM_TIME_DEFAULT, offset, SEEK_SET) < 0)
525 while (sm_io_fgets(e->e_dfp, SM_TIME_DEFAULT, buf, sizeof(buf))
768 c = sm_io_getc(fp, SM_TIME_DEFAULT);
776 c = sm_io_getc(fp, SM_TIME_DEFAULT);
779 (void) sm_io_ungetc(fp, SM_TIME_DEFAULT, c);
791 c = sm_io_getc(fp, SM_TIME_DEFAULT);
[all …]
H A Dparseaddr.c1055 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
1652 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
2437 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "[NULL]\n");
2443 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "%p=", a);
2444 (void) sm_io_flush(fp, SM_TIME_DEFAULT);
2455 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT,
2460 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT,
2464 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "\tstate=");
2468 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "OK");
2472 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT,
[all …]
H A Denvelope.c139 (void) sm_io_flush(CurEnv->e_xfp, SM_TIME_DEFAULT);
319 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
324 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
328 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
416 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
421 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
425 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
533 (void) sm_io_close(e->e_dfp, SM_TIME_DEFAULT);
602 SM_TIME_DEFAULT);
621 (void) sm_io_close(e->e_dfp, SM_TIME_DEFAULT);
[all …]
H A Ddeliver.c589 (void) sm_io_flush(e->e_xfp, SM_TIME_DEFAULT);
656 (void) sm_io_close(e->e_dfp, SM_TIME_DEFAULT);
662 (void) sm_io_close(e->e_lockfp, SM_TIME_DEFAULT);
871 (void) sm_io_close(ee->e_dfp, SM_TIME_DEFAULT);
1727 SM_TIME_DEFAULT,
2187 SM_TIME_DEFAULT,
2252 (void) sm_io_fprintf(TrafficLogFile, SM_TIME_DEFAULT,
2256 SM_TIME_DEFAULT, " %s",
2258 (void) sm_io_fprintf(TrafficLogFile, SM_TIME_DEFAULT,
2341 (void) sm_io_flush(e->e_xfp, SM_TIME_DEFAULT);
[all …]
H A Dalias.c183 (void) sm_io_fprintf(e->e_xfp, SM_TIME_DEFAULT,
563 (void) sm_io_close(af, SM_TIME_DEFAULT);
599 (void) sm_io_close(af, SM_TIME_DEFAULT);
660 while (sm_io_fgets(af, SM_TIME_DEFAULT, line, sizeof(line)) != NULL)
672 if (sm_io_fgets(af, SM_TIME_DEFAULT, p,
686 while ((c = sm_io_getc(af, SM_TIME_DEFAULT)) !=
775 c = sm_io_getc(af, SM_TIME_DEFAULT);
777 (void) sm_io_ungetc(af, SM_TIME_DEFAULT, c);
782 if (sm_io_fgets(af, SM_TIME_DEFAULT, p,
791 while ((c = sm_io_getc(af, SM_TIME_DEFAULT))
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dexc.c64 (void) sm_io_putc(stream, SM_TIME_DEFAULT, *p);
70 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%');
75 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%');
84 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%');
85 (void) sm_io_putc(stream, SM_TIME_DEFAULT,
102 sm_io_fputs(stream, SM_TIME_DEFAULT, s);
106 SM_TIME_DEFAULT,
114 SM_TIME_DEFAULT,
127 (void) sm_io_putc(stream, SM_TIME_DEFAULT, '%');
129 (void) sm_io_putc(stream, SM_TIME_DEFAULT, format);
[all …]
H A Dt-float.c40 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
47 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
54 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
56 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
61 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
69 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
H A Dassert.c78 sm_io_fprintf(smioerr, SM_TIME_DEFAULT, "%s:%d: %s\n", filename,
81 sm_io_fprintf(smioerr, SM_TIME_DEFAULT, "%s\n", msg);
82 sm_io_flush(smioerr, SM_TIME_DEFAULT);
175 sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
178 sm_io_flush(smioerr, SM_TIME_DEFAULT);
H A Dt-exc.c84 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
90 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
117 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
132 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
140 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
H A Dcf.c53 cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, path, SM_IO_RDONLY, NULL);
57 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL)
94 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
98 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
H A Dt-scanf.c30 (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT,
40 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
51 (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT,
H A Dt-smstdio.c37 (void) sm_io_fprintf(fp, SM_TIME_DEFAULT, "%s", testmsg);
38 sm_io_close(fp, SM_TIME_DEFAULT);
56 n = sm_io_read(fp, SM_TIME_DEFAULT, buf, sizeof(buf));
H A Dheap.c770 sm_io_fprintf(stream, SM_TIME_DEFAULT,
778 sm_io_fprintf(stream, SM_TIME_DEFAULT,
784 SM_TIME_DEFAULT,
789 sm_io_fprintf(stream, SM_TIME_DEFAULT, "\n");
807 sm_io_fprintf(stream, SM_TIME_DEFAULT,
810 sm_io_fprintf(stream, SM_TIME_DEFAULT,
815 sm_io_fprintf(stream, SM_TIME_DEFAULT,

123