1 /* $NetBSD: dump.c,v 1.4 2014/01/28 20:43:55 joerg Exp $ */
3 * Copyright (c) 1992, 1993, 1994
4 * The Regents of the University of California. All rights reserved.
6 * %sccs.include.redist.c%
9 #if defined(__NetBSD__)
10 #include <sys/cdefs.h>
13 static char copyright
[] =
14 "%Z% Copyright (c) 1992, 1993, 1994\n\
15 The Regents of the University of California. All rights reserved.\n";
18 __RCSID("$NetBSD: dump.c,v 1.4 2014/01/28 20:43:55 joerg Exp $");
33 if ((s = getc(fp)) == EOF) \
39 if ((ch = getc(fp)) == EOF) \
46 if ((ch = getc(fp)) == EOF) \
48 } while (ch != (t)); \
61 for (;;) { /* dump to end quote. */
62 if ((ch
= getc(fp
)) == EOF
)
68 if ((ch
= getc(fp
)) == EOF
)
84 for (; *argv
!= NULL
; ++argv
) {
85 if ((fp
= fopen(*argv
, "r")) == NULL
) {