Home | History | Annotate | Download | only in dc

Lines Matching defs:file

36 	(void)fprintf(stderr, "usage: %s [-x] [-e expression] [file]\n",
46 FILE *file;
91 file = fopen(argv[0], "r");
92 if (file == NULL)
93 err(1, "cannot open file %s", argv[0]);
100 if (fstat(fileno(file), &st) == -1)
104 src_setstream(&src, file);
107 (void)fclose(file);
110 * the file given as the argument. We follow GNU dc(1).