Lines Matching refs:p
197 register char *p; in __vsyslog() local
227 stdp = p = tbuf + sprintf(tbuf, "<%d>%.15s ", pri, ctime(&now) + 4); in __vsyslog()
230 p += sprintf(p, "%s", LogTag); in __vsyslog()
232 p += sprintf(p, "<BUFFER OVERRUN ATTEMPT>"); in __vsyslog()
235 p += sprintf(p, "[%d]", getpid()); in __vsyslog()
237 *p++ = ':'; in __vsyslog()
238 *p++ = ' '; in __vsyslog()
240 head_end = p; in __vsyslog()
249 p += vsnprintf(p, end - p, fmt, ap); in __vsyslog()
250 if (p >= end || p < head_end) { /* Returned -1 in case of error... */ in __vsyslog()
255 if (p < head_end) { in __vsyslog()
256 while (p < end && *p) { in __vsyslog()
257 p++; in __vsyslog()
261 p = end - 1; in __vsyslog()
265 last_chr = p; in __vsyslog()
274 p = tbuf; in __vsyslog()
280 rc = send(LogFile, p, last_chr + 1 - p, MSG_NOSIGNAL); in __vsyslog()
298 p += rc; in __vsyslog()
299 } while (p <= last_chr); in __vsyslog()
313 p = strchr(tbuf, '>') + 1; in __vsyslog()
316 (void)write(fd, p, last_chr - p + 2); in __vsyslog()