Lines Matching defs:output
55 char *env, *msgverb, *output;
71 output = printfmt(msgverb, class, label, sev, text, action,
73 if (output == NULL) {
77 if (*output != '\0')
78 fprintf(stderr, "%s", output);
80 free(output);
83 output = printfmt(DFLT_MSGVERB, class, label, sev, text,
85 if (output == NULL)
87 if (*output != '\0') {
89 free(output);
92 fprintf(fp, "%s", output);
95 free(output);
101 if (*output != '\0') \
102 strlcat(output, ": ", size)
104 if (*output != '\0') \
105 strlcat(output, "\n", size)
107 if (*output != '\0') \
108 strlcat(output, " ", size)
112 * a newly malloc()'d output buffer.
119 char *comp, *output;
134 if ((output = malloc(size)) == NULL)
136 *output = '\0';
140 strlcat(output, label, size);
143 strlcat(output, sevinfo(sev), size);
146 strlcat(output, text, size);
149 strlcat(output, "TO FIX: ", size);
150 strlcat(output, act, size);
153 strlcat(output, tag, size);
157 return (output);