Lines Matching defs:output
47 * uuencode [input] output
69 static FILE *output;
127 output = fopen(outfile, "w+");
128 if (output == NULL)
129 err(1, "unable to open %s for output", outfile);
131 output = stdout;
136 if (ferror(output))
162 fprintf(output, "begin-base64 %o %s\n", mode, *av);
168 fprintf(output, "%s%s", buf2, (sequence % GROUPS) ? "" : "\n");
171 fprintf(output, "\n");
173 fprintf(output, "====\n");
187 (void)fprintf(output, "begin %o %s\n", mode, *av);
190 if (fputc(ch, output) == EOF)
201 if (fputc(ch, output) == EOF)
205 if (fputc(ch, output) == EOF)
209 if (fputc(ch, output) == EOF)
213 if (fputc(ch, output) == EOF)
216 if (fputc('\n', output) == EOF)
222 (void)fprintf(output, "%c\nend\n", ENC('\0'));