/src/usr.bin/cmp/ |
cmp.c | 70 const char *file1, *file2; local in function:main 100 if (strcmp(file1 = argv[0], "-") == 0) { 103 file1 = "stdin"; 105 else if ((fd1 = open(file1, O_RDONLY, 0)) < 0) { 107 warn("%s", file1); 141 err(ERR_EXIT, "%s", file1); 153 c_special(fd1, file1, skip1, fd2, file2, skip2); 155 c_regular(fd1, file1, skip1, sb1.st_size, 165 "Usage: %s [-c] [-l | -s] file1 file2 [skip1 [skip2]]\n",
|
/src/bin/ln/ |
ln.c | 190 const char *file1, *file2; local in function:samedirent 196 file1 = strrchr(path1, '/'); 197 if (file1 != NULL) 198 file1++; 200 file1 = path1; 206 if (strcmp(file1, file2) != 0) 208 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX) 210 if (file1 == path1) 213 memcpy(pathbuf, path1, file1 - path1); 214 pathbuf[file1 - path1] = '\0' [all...] |
/src/usr.bin/error/ |
input.c | 402 char *file1 = NULL, *file2 = NULL; local in function:lint1 422 && persperdexplode(cur_wordv[cur_wordc-2], &line1, &file1)) { 425 nwordv1[0] = file1; 436 free(file1);
|
/src/usr.bin/make/unit-tests/ |
varname-circumflex.mk | 24 prerequisite: file1.o 27 unique: file1.o file2.o file3.o 30 duplicate: file1.o file2.o file3.o file3.o 39 wait: file1.o .WAIT file2.o 48 file1.o file2.o file3.o:
|
/src/usr.bin/sdiff/ |
sdiff.c | 65 size_t file1ln, file2ln; /* line number of file1 and file2 */ 157 FILE *diffpipe, *file1, *file2; local in function:main 171 * file1, and file2 won't have arguments so doubling them will 258 * Create temporary files for diff and sdiff to share if file1 266 /* file1 and file2 are the same, so copy to same temp file. */ 270 /* Copy file1 and file2 into separate temp files. */ 316 if ((file1 = fopen(filename1, "r")) == NULL) 325 while (parsecmd(diffpipe, file1, file2) != EOF) 347 while ((s1 = xfgets(file1))) 351 s1 = xfgets(file1); [all...] |
/src/usr.bin/newsyslog/ |
newsyslog.c | 535 char file1[MAXPATHLEN], file2[MAXPATHLEN]; local in function:log_trim 543 (void)snprintf(file1, sizeof(file1), "%s.%d", 545 (void)strlcat(file1, compress[j].suffix, 546 sizeof(file1)); 547 PRINFO(("rm -f %s\n", file1)); 549 (void)unlink(file1); 561 snprintf(file1, sizeof(file1), "%s.%d", log->logfile, i); 562 if (lstat(file1, &st) != 0 [all...] |