1 /* $NetBSD: dump.c,v 1.2 2013/11/22 15:52:04 christos Exp $ */
3 * Copyright (c) 1992, 1993, 1994
4 * The Regents of the University of California. All rights reserved.
6 * %sccs.include.redist.c%
10 static char copyright
[] =
11 "%Z% Copyright (c) 1992, 1993, 1994\n\
12 The Regents of the University of California. All rights reserved.\n";
16 static char sccsid
[] = "Id: dump.c,v 8.1 1994/08/31 13:27:37 bostic Exp (Berkeley) Date: 1994/08/31 13:27:37 ";
30 if ((s = getc(fp)) == EOF) \
36 if ((ch = getc(fp)) == EOF) \
43 if ((ch = getc(fp)) == EOF) \
45 } while (ch != (t)); \
58 for (;;) { /* dump to end quote. */
59 if ((ch
= getc(fp
)) == EOF
)
65 if ((ch
= getc(fp
)) == EOF
)
81 for (; *argv
!= NULL
; ++argv
) {
82 if ((fp
= fopen(*argv
, "r")) == NULL
) {