| /freebsd-12.1/usr.bin/lam/ |
| H A D | lam.c | 123 static char fmtbuf[BUFSIZ]; in getargs() local 124 char *fmtp = fmtbuf; in getargs() 177 if (fmtp >= fmtbuf + sizeof(fmtbuf)) in getargs() 182 if (snprintf(fmtp, fmtbuf + sizeof(fmtbuf) - fmtp, "%%%ss", p) in getargs() 183 >= fmtbuf + sizeof(fmtbuf) - fmtp) in getargs()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | log.c | 407 char fmtbuf[MSGBUFSIZ]; in do_log() local 451 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", txt, fmt); in do_log() 452 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args); in do_log() 456 strnvis(fmtbuf, msgbuf, sizeof(fmtbuf), in do_log() 462 tmp_handler(level, fmtbuf, log_handler_ctx); in do_log() 466 (int)sizeof msgbuf - 3, fmtbuf); in do_log() 471 syslog_r(pri, &sdata, "%.500s", fmtbuf); in do_log() 475 syslog(pri, "%.500s", fmtbuf); in do_log()
|
| /freebsd-12.1/sbin/dhclient/ |
| H A D | options.c | 639 char fmtbuf[32], *op = optbuf; in pretty_print_option() local 663 fmtbuf[i] = dhcp_options[code].format[i]; in pretty_print_option() 667 fmtbuf[i] = 0; in pretty_print_option() 676 fmtbuf[i] = 't'; in pretty_print_option() 679 fmtbuf[i] = 'x'; in pretty_print_option() 684 fmtbuf[i + 1] = 0; in pretty_print_option() 687 fmtbuf[i] = 't'; in pretty_print_option() 688 fmtbuf[i + 1] = 0; in pretty_print_option() 742 switch (fmtbuf[j]) { in pretty_print_option() 845 warning("Unexpected format code %c", fmtbuf[j]); in pretty_print_option()
|
| /freebsd-12.1/bin/date/ |
| H A D | date.c | 258 char fmtbuf[32], buf[32], tzbuf[8]; in printisodate() local 260 fmtbuf[0] = 0; in printisodate() 262 strlcat(fmtbuf, it->format_string, sizeof(fmtbuf)); in printisodate() 264 (void)strftime(buf, sizeof(buf), fmtbuf, lt); in printisodate()
|
| /freebsd-12.1/contrib/sendmail/src/ |
| H A D | srvrsmtp.c | 4956 char fmtbuf[30]; local 4960 (void) sm_strlcpy(fmtbuf, "252", sizeof(fmtbuf)); 4962 (void) sm_strlcpy(fmtbuf, "250", sizeof(fmtbuf)); 4963 fmtbuf[3] = last ? ' ' : '-'; 4964 (void) sm_strlcpy(&fmtbuf[4], "2.1.5 ", sizeof(fmtbuf) - 4); 4972 sizeof(fmtbuf) - OFFF); 4974 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s>", 4975 sizeof(fmtbuf) - OFFF); 4976 message(fmtbuf, a->q_user, MyHostName); 4985 sizeof(fmtbuf) - OFFF); [all …]
|
| /freebsd-12.1/usr.bin/netstat/ |
| H A D | inet.c | 807 char fmtbuf[80]; in tcp_stats() local 811 snprintf(fmtbuf, sizeof(fmtbuf), "\t{:%s/%%ju} " in tcp_stats() 814 xo_emit(fmtbuf, (uintmax_t )tcps_states[i]); in tcp_stats()
|
| /freebsd-12.1/bin/ps/ |
| H A D | ps.c | 192 char fmtbuf[_POSIX2_LINE_MAX]; in main() local 691 snprintf(fmtbuf, sizeof(fmtbuf), "{:%s/%%%s%d..%ds}", in main() 695 xo_emit(fmtbuf, str); in main()
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | ntp_control.c | 1891 char fmtbuf[128]; in ctl_printf() local 1895 rc = vsnprintf(fmtbuf, sizeof(fmtbuf), fmt, va); in ctl_printf() 1897 if (rc < 0 || (size_t)rc >= sizeof(fmtbuf)) in ctl_printf() 1898 strcpy(fmtbuf + sizeof(fmtbuf) - strlen(ellipsis) - 1, in ctl_printf() 1900 ctl_putdata(fmtbuf, strlen(fmtbuf), 0); in ctl_printf()
|