Home
last modified time | relevance | path

Searched refs:prlen (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/unistd/
Dsyslog.c115 int tbuf_left, fmt_left, prlen; in vsyslog_r() local
149 if (prlen < 0) \ in vsyslog_r()
150 prlen = 0; \ in vsyslog_r()
151 if (prlen >= tbuf_left) \ in vsyslog_r()
152 prlen = tbuf_left - 1; \ in vsyslog_r()
153 p += prlen; \ in vsyslog_r()
154 tbuf_left -= prlen; \ in vsyslog_r()
157 prlen = snprintf(p, tbuf_left, "<%d>", pri); in vsyslog_r()
165 prlen = strftime(p, tbuf_left, "%h %e %T ", localtime(&now)); in vsyslog_r()
174 prlen = snprintf(p, tbuf_left, "%s", data->log_tag); in vsyslog_r()
[all …]