Lines Matching refs:output
56 char *env, *msgverb, *output; in fmtmsg() local
72 output = printfmt(msgverb, class, label, sev, text, action, in fmtmsg()
74 if (output == NULL) { in fmtmsg()
78 if (*output != '\0') in fmtmsg()
79 fprintf(stderr, "%s", output); in fmtmsg()
81 free(output); in fmtmsg()
84 output = printfmt(DFLT_MSGVERB, class, label, sev, text, in fmtmsg()
86 if (output == NULL) in fmtmsg()
88 if (*output != '\0') { in fmtmsg()
90 free(output); in fmtmsg()
93 fprintf(fp, "%s", output); in fmtmsg()
96 free(output); in fmtmsg()
102 if (*output != '\0') \
103 strlcat(output, ": ", size)
105 if (*output != '\0') \
106 strlcat(output, "\n", size)
108 if (*output != '\0') \
109 strlcat(output, " ", size)
120 char *comp, *output; in printfmt() local
135 if ((output = malloc(size)) == NULL) in printfmt()
137 *output = '\0'; in printfmt()
141 strlcat(output, label, size); in printfmt()
144 strlcat(output, sevinfo(sev), size); in printfmt()
147 strlcat(output, text, size); in printfmt()
150 strlcat(output, "TO FIX: ", size); in printfmt()
151 strlcat(output, act, size); in printfmt()
154 strlcat(output, tag, size); in printfmt()
158 return (output); in printfmt()