Lines Matching defs:fmt
410 vsnprintf(char *s, size_t n, const char *fmt, va_list args)
423 _doprnt(fmt, args, &fakebuf);
443 need = vfprintf(nullfp, fmt, args);
445 (void)vsprintf(s, fmt, args);
454 snprintf(char *s, size_t n, const char *fmt, ...)
459 va_start(ap, fmt);
460 rv = vsnprintf(s, n, fmt, ap);
468 strftime(char *buf, size_t len, const char *fmt, const struct tm *tm)
478 while (*fmt) {
481 if (*fmt != '%') {
482 *buf++ = *fmt++;
486 switch (*fmt++) {
518 fmt[-1]);
539 vwarnx(const char *fmt, va_list args)
542 if ((fmt)) {
543 vfprintf(stderr, fmt, args);
551 vwarn(const char *fmt, va_list args)
553 vwarnx(fmt, args);
560 verr(int eval, const char *fmt, va_list args)
562 vwarn(fmt, args);
569 verrx(int eval, const char *fmt, va_list args)
571 vwarnx(fmt, args);
578 err(int eval, const char *fmt, ...)
582 va_start(ap, fmt);
583 verr(eval, fmt, ap);
590 errx(int eval, const char *fmt, ...)
594 va_start(ap, fmt);
595 verrx(eval, fmt, ap);
602 warn(const char *fmt, ...)
606 va_start(ap, fmt);
607 vwarn(fmt, ap);
614 warnx(const char *fmt, ...)
618 va_start(ap, fmt);
619 vwarnx(fmt, ap);