Searched refs:outfp (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/usr.bin/uudecode/ |
| H A D | uudecode.c | 54 static FILE *infp, *outfp; variable 165 outfp = stdout; in decode() 266 outfp = stdout; in decode2() 299 (outfp = fdopen(fd, "w")) == NULL) { in decode2() 333 if (fclose(outfp) != 0) { in checkend() 383 putc(ch, outfp); in uu_decode() 385 putc(ch, outfp); in uu_decode() 387 putc(ch, outfp); in uu_decode() 396 putc(ch, outfp); in uu_decode() 404 putc(ch, outfp); in uu_decode() [all …]
|
| /openbsd-src/sys/dev/microcode/siop/ |
| H A D | ncr53cxxx.c | 296 FILE *outfp; variable 403 outfp = fopen (outputfile, "w"); in main() 411 if (outfp) { in main() 414 fprintf(outfp, "/*\t$OpenBSD: ncr53cxxx.c,v 1.8 2023/01/04 10:05:44 jsg Exp $\t*/\n"); in main() 415 fprintf(outfp, "/*\n"); in main() 416 fprintf(outfp, " *\tDO NOT EDIT - this file is automatically generated.\n"); in main() 418 fprintf(outfp, " *\tcreated from %s on %s", sourcefile, ctime(&cur_time)); in main() 419 fprintf(outfp, " */\n"); in main() 453 if (outfp && !partial_flag) { in main() 454 fprintf (outfp, "\nu_int32_t INSTRUCTIONS = 0x%08x;\n", ninsts); in main() [all …]
|
| /openbsd-src/usr.sbin/hostctl/ |
| H A D | hostctl.c | 98 FILE *outfp = stdout; in main() local 134 outfp = stdout; in main() 135 else if ((outfp = fopen(out, "w")) == NULL) in main() 153 fprintf(outfp, "%s: %s\n", path_pvbus, str); in main() 212 fprintf(outfp, "%s\n", str); in main() 217 if (outfp != stdout) in main() 218 fclose(outfp); in main()
|
| /openbsd-src/usr.bin/sdiff/ |
| H A D | sdiff.c | 68 FILE *outfp; /* file to save changes to */ variable 255 if (outfile && (outfp = fopen(outfile, "w")) == NULL) in main() 463 fprintf(outfp, "%s\n", s1); in prompt() 475 fprintf(outfp, "%s\n", s2); in prompt() 508 fclose(outfp); in prompt() 912 if (outfp) in processq() 915 fprintf(outfp, "%s\n", left); in processq()
|
| H A D | extern.h | 8 extern FILE *outfp; /* file to save changes to */
|
| H A D | edit.c | 191 nwritten = fwrite(buf, sizeof(*buf), nread, outfp); in eparse()
|