/src/lib/libc/gen/ |
syslog.c | 87 size_t prlen; local in function:timefun 98 prlen = strftime(p, tbuf_left, "%FT%T", &tmnow); 100 prlen = snprintf(p, tbuf_left, ".%06ld", (long)tv.tv_usec); 102 prlen = strftime(p, tbuf_left-1, "%z", &tmnow); 104 if (prlen == 5) { 105 p[prlen+1] = p[prlen]; 106 p[prlen] = p[prlen-1]; 107 p[prlen-1] = p[prlen-2] [all...] |
syslog.c | 87 size_t prlen; local in function:timefun 98 prlen = strftime(p, tbuf_left, "%FT%T", &tmnow); 100 prlen = snprintf(p, tbuf_left, ".%06ld", (long)tv.tv_usec); 102 prlen = strftime(p, tbuf_left-1, "%z", &tmnow); 104 if (prlen == 5) { 105 p[prlen+1] = p[prlen]; 106 p[prlen] = p[prlen-1]; 107 p[prlen-1] = p[prlen-2] [all...] |
xsyslog.c | 145 size_t cnt, prlen, tries; local in function:_vxsyslogp_r 181 prlen = snprintf_ss(p, tbuf_left, "<%d>1 ", pri); 184 prlen = (*fun->timefun)(p, tbuf_left); 196 prlen = snprintf_ss(p, tbuf_left, " %s ", data->log_hostname); 202 prlen = snprintf_ss(p, tbuf_left, "%s ", 209 iov[iovcnt].iov_len = prlen - 1; 215 prlen = snprintf_ss(p, tbuf_left, "%d ", getpid()); 221 iov[iovcnt].iov_len = prlen - 1; 228 prlen = snprintf_ss(p, tbuf_left, "- "); 270 prlen = snprintf_ss(t, fmt_left, "Error %d" [all...] |
xsyslog.c | 145 size_t cnt, prlen, tries; local in function:_vxsyslogp_r 181 prlen = snprintf_ss(p, tbuf_left, "<%d>1 ", pri); 184 prlen = (*fun->timefun)(p, tbuf_left); 196 prlen = snprintf_ss(p, tbuf_left, " %s ", data->log_hostname); 202 prlen = snprintf_ss(p, tbuf_left, "%s ", 209 iov[iovcnt].iov_len = prlen - 1; 215 prlen = snprintf_ss(p, tbuf_left, "%d ", getpid()); 221 iov[iovcnt].iov_len = prlen - 1; 228 prlen = snprintf_ss(p, tbuf_left, "- "); 270 prlen = snprintf_ss(t, fmt_left, "Error %d" [all...] |