Lines Matching defs:file
1 /* sum -- checksum and count the blocks in a file
81 of file FILE, or of the standard input if FILE is "-".
87 bsd_sum_file (const char *file, int print_name)
94 bool is_stdin = STREQ (file, "-");
105 fp = fopen (file, (O_BINARY ? "rb" : "r"));
108 error (0, errno, "%s", file);
123 error (0, errno, "%s", file);
131 error (0, errno, "%s", file);
138 printf (" %s", file);
145 of file FILE, or of the standard input if FILE is "-".
150 sysv_sum_file (const char *file, int print_name)
162 bool is_stdin = STREQ (file, "-");
173 fd = open (file, O_RDONLY | O_BINARY);
176 error (0, errno, "%s", file);
191 error (0, errno, "%s", file);
204 error (0, errno, "%s", file);
214 printf (" %s", file);