Lines Matching refs:output
52 char *env, *msgverb, *output; in fmtmsg() local
68 output = printfmt(msgverb, class, label, sev, text, action, in fmtmsg()
70 if (output == NULL) { in fmtmsg()
74 if (*output != '\0') in fmtmsg()
75 fprintf(stderr, "%s", output); in fmtmsg()
77 free(output); in fmtmsg()
80 output = printfmt(DFLT_MSGVERB, class, label, sev, text, in fmtmsg()
82 if (output == NULL) in fmtmsg()
84 if (*output != '\0') { in fmtmsg()
86 free(output); in fmtmsg()
89 fprintf(fp, "%s", output); in fmtmsg()
92 free(output); in fmtmsg()
98 if (*output != '\0') \
99 strlcat(output, ": ", size)
101 if (*output != '\0') \
102 strlcat(output, "\n", size)
104 if (*output != '\0') \
105 strlcat(output, " ", size)
116 char *comp, *output; in printfmt() local
131 if ((output = malloc(size)) == NULL) in printfmt()
133 *output = '\0'; in printfmt()
137 strlcat(output, label, size); in printfmt()
140 strlcat(output, sevinfo(sev), size); in printfmt()
143 strlcat(output, text, size); in printfmt()
146 strlcat(output, "TO FIX: ", size); in printfmt()
147 strlcat(output, act, size); in printfmt()
150 strlcat(output, tag, size); in printfmt()
154 return (output); in printfmt()