Searched refs:fmt (Results 1 - 20 of 20) sorted by relevance

/sendmail/libsm/
H A Dvprintf.c25 ** fmt -- the format of the output
33 sm_vprintf(timeout, fmt, ap)
35 char const *fmt;
38 return sm_io_vfprintf(smiostdout, timeout, fmt, ap);
H A Dstringf.c29 ** fmt -- format string.
41 sm_stringf_x(const char *fmt, ...) argument
43 sm_stringf_x(fmt, va_alist)
44 const char *fmt;
51 SM_VA_START(ap, fmt);
52 s = sm_vstringf_x(fmt, ap);
61 ** fmt -- format string.
72 sm_vstringf_x(fmt, ap)
73 const char *fmt;
78 sm_vasprintf(&s, fmt, a
[all...]
H A Dfprintf.c28 ** fmt -- markup format for the string to be printed
29 ** ... -- additional information for 'fmt'
38 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) argument
40 sm_io_fprintf(fp, timeout, fmt, va_alist)
43 char *fmt;
51 SM_VA_START(ap, fmt);
52 ret = sm_io_vfprintf(fp, timeout, fmt, ap);
H A Dfscanf.c28 ** fmt -- the format to translate the data to
38 sm_io_fscanf(SM_FILE_T *fp, int timeout, char const *fmt, ...) argument
40 sm_io_fscanf(fp, timeout, fmt, va_alist)
43 char *fmt;
51 SM_VA_START(ap, fmt);
52 ret = sm_vfscanf(fp, timeout, fmt, ap);
H A Dsnprintf.c30 ** fmt -- the formatting directives
48 sm_snprintf(char *str, size_t n, char const *fmt, ...) argument
50 sm_snprintf(str, n, fmt, va_alist)
53 char *fmt;
64 SM_VA_START(ap, fmt);
82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Dsscanf.c55 ** fmt -- format directive for finding data units
70 sm_io_sscanf(const char *str, char const *fmt, ...) argument
72 sm_io_sscanf(str, fmt, va_alist)
74 char *fmt;
98 SM_VA_START(ap, fmt);
99 ret = sm_vfscanf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Dassert.c123 ** fmt -- format string.
132 sm_abort(char *fmt, ...) argument
134 sm_abort(fmt, va_alist)
135 char *fmt;
142 SM_VA_START(ap, fmt);
143 sm_vsnprintf(msg, sizeof msg, fmt, ap);
H A Dvfprintf.c86 ** fmt -- format instructions for the o/p
98 sm_bprintf(fp, fmt, ap)
100 const char *fmt;
129 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
179 register char *fmt; /* format string */ local
180 register int ch; /* character from fmt */
272 cp = fmt; \
289 fmt = ++cp; \
324 fmt = (char *) fmt0;
336 cp = fmt;
499 char fmt[16]; local
832 register char *fmt; /* format string */ local
[all...]
H A Dvasprintf.c42 ** fmt -- format directives for printing
56 sm_vasprintf(str, fmt, ap)
58 const char *fmt;
82 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Dvsnprintf.c30 ** fmt -- format directives
31 ** ap -- data unit vectors for use by 'fmt'
41 sm_vsnprintf(str, n, fmt, ap)
44 const char *fmt;
75 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Dvfscanf.c115 register unsigned char *SM_NONVOLATILE fmt = (unsigned char *) fmt0; local
166 c = *fmt++;
191 again: c = *fmt++;
211 if (*fmt == 'l')
213 fmt++;
289 fmt = sm_sccl(ccltab, fmt);
770 ** fmt -- character list (within "[]")
776 sm_sccl(tab, fmt)
778 register unsigned char *fmt;
[all...]
H A Ddebug.c113 ** fmt -- format for printf()
126 sm_dprintf(char *fmt, ...) argument
128 sm_dprintf(fmt, va_alist)
129 char *fmt;
157 SM_VA_START(ap, fmt);
158 sm_io_vfprintf(SmDebugOutput, SmDebugOutput->f_timeout, fmt, ap);
H A Dexc.c322 char *fmt = argv[si].v_str; local
323 if (fmt != NULL)
324 argv[si].v_str = sm_vstringf_x(fmt, ap);
/sendmail/sendmail/
H A Derr.c97 ** fmt -- the format string. An optional '!' or '@',
121 syserr(const char *fmt, ...) argument
123 syserr(fmt, va_alist)
124 const char *fmt;
139 switch (*fmt)
142 ++fmt;
147 ++fmt;
179 SM_VA_START(ap, fmt);
180 errtxt = fmtmsg(MsgBuf, (char *) NULL, p, enhsc, save_errno, fmt, ap);
264 ** fmt
279 usrerr(const char *fmt, ...) argument
365 usrerrenh(char *enhsc, const char *fmt, ...) argument
[all...]
H A Dconf.c2337 ** fmt -- a printf style format string.
2338 ** a, b, c -- possible parameters to fmt.
2503 setproctitle(const char *fmt, ...) argument
2505 setproctitle(fmt, va_alist)
2506 const char *fmt;
2533 SM_VA_START(ap, fmt);
2534 (void) sm_vsnprintf(p, SPACELEFT(buf, p), fmt, ap);
2606 ** fmt -- a printf style format string.
2607 ** a, b, c -- possible parameters to fmt.
2616 sm_setproctitle(bool status, ENVELOPE *e, const char *fmt, argument
5373 sm_syslog(int level, const char *id, const char *fmt, ...) argument
[all...]
H A Dparseaddr.c2078 char fmt[16]; local
2091 (void) sm_strlcpyn(fmt, sizeof(fmt), 2, ubuf, " %s");
2093 usrerr(fmt, ubuf + off);
2095 usrerrenh(hbuf, fmt, ubuf + off);
2097 usrerr(fmt, ubuf + off);
H A Dreadcf.c47 ** Fxfile [fmt] Read file for lines to put into
48 ** class x. Use scanf string 'fmt'
890 ** fmt -- scanf string to use for match.
936 fileclass(class, filename, fmt, ismap, safe, optional)
939 char *fmt;
951 sm_dprintf("fileclass(%s, fmt=%s)\n", filename, fmt);
1153 if (sm_io_sscanf(buf, fmt, wordbuf) != 1)
/sendmail/rmail/
H A Drmail.c414 err(int eval, const char *fmt, ...) argument
416 err(eval, fmt, va_alist)
418 const char *fmt;
424 if (fmt != NULL)
426 SM_VA_START(ap, fmt);
428 (void) sm_io_vfprintf(smioerr, SM_TIME_DEFAULT, fmt, ap);
/sendmail/vacation/
H A Dvacation.c1173 ** fmt -- string format
1182 debuglog(int i, const char *fmt, ...) argument
1184 debuglog(i, fmt, va_alist)
1186 const char *fmt;
1193 SM_VA_START(ap, fmt);
1194 sm_io_vfprintf(smioerr, SM_TIME_DEFAULT, fmt, ap);
/sendmail/mail.local/
H A Dmail.local.c1595 mailerr(const char *hdr, const char *fmt, ...) argument
1597 mailerr(hdr, fmt, va_alist)
1599 const char *fmt;
1608 SM_VA_START(ap, fmt);
1615 (void) sm_vsnprintf(&ErrBuf[len], sizeof ErrBuf - len, fmt, ap);

Completed in 918 milliseconds