Lines Matching refs:prefix
52 * prefix is a string to prepend to each output line.
56 char *prefix)
65 * Compute the prefix string, without trailing whitespace
67 if (prefix != NULL) {
69 for (cp = prefix; *cp != '\0'; cp++)
72 prefixlen = cp2 == NULL ? 0 : cp2 - prefix + 1;
102 statusput(mp, obuf, prefix);
131 statusput(mp, obuf, prefix);
154 statusput(mp, obuf, prefix);
167 * Strip trailing whitespace from prefix
170 if (prefix != NULL) {
172 fputs(prefix, obuf);
174 (void)fwrite(prefix, sizeof(*prefix),
187 if (prefix != NULL)
195 * Strip trailing whitespace from prefix
199 fputs(prefix, obuf);
201 (void)fwrite(prefix, sizeof(*prefix),
227 statusput(struct message *mp, FILE *obuf, char *prefix)
239 prefix == NULL ? "" : prefix, statout);