Lines Matching defs:file2
102 const char *file1, *file2;
174 if (strcmp(file2 = argv[1], "-") == 0) {
180 file2 = "stdin";
181 } else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
183 err(ERR_EXIT, "%s", file2);
203 ret = c_link(file1, skip1, file2, skip2, limit);
206 errx(ERR_EXIT, "%s: Not a symbolic link", file2);
231 err(ERR_EXIT, "%s", file2);
244 ret = c_special(fd1, file1, skip1, fd2, file2, skip2, limit);
249 file1, file2);
253 fd2, file2, skip2, sb2.st_size, limit);
267 "usage: cmp [-l | -s | -x] [-hz] file1 file2 [skip1 [skip2]]\n");