Searched refs:logbuf (Results 1 - 7 of 7) sorted by last modified time

/freebsd-11-stable/contrib/libpcap/rpcapd/
H A Dlog.c230 char logbuf[1024+1]; local
232 pcap_vsnprintf(logbuf, sizeof logbuf, message, ap);
233 syslog(syslog_priority, "%s", logbuf);
/freebsd-11-stable/usr.sbin/ppp/
H A Dip.c564 char logbuf[200]; local
612 if (logit && loglen < sizeof logbuf) {
614 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s", prefix);
616 snprintf(logbuf + loglen, sizeof logbuf - loglen, "%s ", filter->name);
618 snprintf(logbuf + loglen, sizeof logbuf - loglen, " ");
619 loglen += strlen(logbuf + loglen);
624 if (logit && loglen < sizeof logbuf) {
[all...]
/freebsd-11-stable/usr.sbin/nandsim/
H A Dnandsim.c722 char *logbuf; local
728 logbuf = (char *)malloc(sizeof(char) * NANDSIM_RAM_LOG_SIZE);
729 if (logbuf == NULL) {
734 memset(logbuf, 0, NANDSIM_RAM_LOG_SIZE);
735 log.log = logbuf;
747 free(logbuf);
761 printf("Logs for controller#%d:\n%s\n", idx, logbuf);
764 free(logbuf);
/freebsd-11-stable/gnu/usr.bin/rcs/ci/
H A Dci.c1260 static struct buf logbuf; local
1273 bufalloc(&logbuf, i + datesize + zonelenmax);
1274 tp = logbuf.string;
1295 logmsg = getsstdin("m", "log message", "", &logbuf);
/freebsd-11-stable/gnu/usr.bin/rcs/rlog/
H A Drlog.c641 struct buf logbuf; local
652 bufautobegin(&logbuf);
653 cb = savestring(&logbuf);
654 Delta->log = bufremember(&logbuf, cb.size);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_ripencc.c1474 static char logbuf[1024]; /* logging string buffer */ local
1510 sprintf(logbuf, "U1 %d.%d.%d %02d:%02d:%02d %d %02x",
1515 puts(logbuf);
1518 record_clock_stats(&peer->srcadr, logbuf);
1600 static char logbuf[1024]; /* logging string buffer */ local
1677 sprintf(logbuf, "C1 %02d%02d%04d %02d%02d%02d %d %7.0f %.1f %.0f %.1f %d %02d%09.6f %c %02d%09.6f %c %.0f %d %d %d %d %d %d %d %d",
1685 puts(logbuf);
1688 record_clock_stats(&peer->srcadr, logbuf);
1703 static char logbuf[1024]; /* logging string buffer */ local
1705 TranslateTSIPReportToText (rpt, logbuf); /* anythin
1737 static char logbuf[1024]; /* logging string buffer */ local
1785 static char logbuf[1024]; /* logging string buffer */ local
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Docd.c959 unsigned char logbuf[100];
985 logbuf[0] = OCD_LOG_FILE;
986 logbuf[1] = 3; /* close existing WIGGLERS.LOG */
987 ocd_put_packet (logbuf, 2);
988 ocd_get_packet (logbuf[0], &logpktlen, remote_timeout);
990 logbuf[0] = OCD_LOG_FILE;
991 logbuf[1] = 2; /* append to existing WIGGLERS.LOG */
992 ocd_put_packet (logbuf, 2);
993 ocd_get_packet (logbuf[0], &logpktlen, remote_timeout);
950 unsigned char logbuf[100]; local

Completed in 124 milliseconds