#include #include #include #include #include #include "mystuff.h" extern int errno; void main (int argc, char **argv) { char *filename; int which; switch (argc) { case 0: printf ("This can't happen.\n"); break; case 1: /* No arguments; use stdin. */ { dumpfile (0); /* note that fd 0 is always stdin */ } default: { int thefd; int i; for (i=1; i