Lines Matching defs:fmt
97 ** fmt -- the format string. An optional '!', '@', or '+',
121 syserr(const char *fmt, ...)
123 syserr(fmt, va_alist)
124 const char *fmt;
139 switch (*fmt)
142 ++fmt;
146 ++fmt;
150 ++fmt;
179 SM_VA_START(ap, fmt);
180 errtxt = fmtmsg(MsgBuf, (char *) NULL, p, enhsc, save_errno, fmt, ap);
264 ** fmt -- the format string. If it does not begin with
279 usrerr(const char *fmt, ...)
281 usrerr(fmt, va_alist)
282 const char *fmt;
290 if (fmt[0] == '5' || fmt[0] == '6')
292 else if (fmt[0] == '4' || fmt[0] == '8')
294 else if (fmt[0] == '2')
298 SM_VA_START(ap, fmt);
299 errtxt = fmtmsg(MsgBuf, CurEnv->e_to, "550", enhsc, 0, fmt, ap);
350 ** fmt -- the format string. If it does not begin with
365 usrerrenh(char *enhsc, const char *fmt, ...)
367 usrerrenh(enhsc, fmt, va_alist)
369 const char *fmt;
378 if (fmt[0] == '5' || fmt[0] == '6')
380 else if (fmt[0] == '4' || fmt[0] == '8')
382 else if (fmt[0] == '2')
385 SM_VA_START(ap, fmt);
386 errtxt = fmtmsg(MsgBuf, CurEnv->e_to, "550", enhsc, 0, fmt, ap);
435 ** msg -- the message (sm_io_printf fmt) -- it can begin with
490 ** msg -- the message (sm_io_printf fmt) -- it can begin with
591 ** msg -- the message (sm_io_printf fmt) -- if it begins
909 ** fmt -- format of string.
910 ** ap -- arguments for fmt.
920 fmtmsg(eb, to, num, enhsc, eno, fmt, ap)
926 const char *fmt;
935 if (ISSMTPCODE(fmt))
937 num = fmt;
938 fmt += 4;
954 if ((l = isenhsc(fmt, ' ' )) > 0 && l < spaceleft - 4)
958 (void) sm_strlcpy(eb, fmt, l + 1);
961 fmt += l;
1018 (void) sm_vsnprintf(eb, spaceleft, fmt, ap);