HomeSort by: relevance | last modified time | path
    Searched defs:file2 (Results 1 - 6 of 6) sorted by relevancy

  /src/usr.bin/cmp/
cmp.c 70 const char *file1, *file2; local in function:main
110 if (strcmp(file2 = argv[1], "-") == 0) {
116 file2 = "stdin";
118 else if ((fd2 = open(file2, O_RDONLY, 0)) < 0) {
120 warn("%s", file2);
146 err(ERR_EXIT, "%s", file2);
153 c_special(fd1, file1, skip1, fd2, file2, skip2);
156 fd2, file2, skip2, sb2.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
201 file2 = strrchr(path2, '/');
202 if (file2 != NULL)
203 file2++;
205 file2 = path2;
206 if (strcmp(file1, file2) != 0)
208 if (file1 - path1 >= PATH_MAX || file2 - path2 >= PATH_MAX)
218 if (file2 == path2)
221 memcpy(pathbuf, path2, file2 - path2);
222 pathbuf[file2 - path2] = '\0'
    [all...]
  /src/usr.bin/error/
input.c 402 char *file1 = NULL, *file2 = NULL; local in function:lint1
421 && persperdexplode(cur_wordv[cur_wordc], &line2, &file2)
428 nwordv2[0] = file2;
435 free(file2);
  /src/usr.bin/make/unit-tests/
varname-circumflex.mk 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
259 * or file2 are not regular files. This allows sdiff and diff
266 /* file1 and file2 are the same, so copy to same temp file. */
270 /* Copy file1 and file2 into separate temp files. */
318 if ((file2 = fopen(filename2, "r")) == NULL)
325 while (parsecmd(diffpipe, file1, file2) != EOF)
352 s2 = xfgets(file2);
359 fclose(file2);
    [all...]
  /src/usr.bin/newsyslog/
newsyslog.c 535 char file1[MAXPATHLEN], file2[MAXPATHLEN]; local in function:log_trim
564 snprintf(file2, sizeof(file2), "%s%s", file1,
566 if (lstat(file2, &st) == 0)
577 snprintf(file2, sizeof(file2), "%s.%d%s", log->logfile,
584 PRINFO(("mv %s %s\n", file1, file2));
586 if (rename(file1, file2))
588 PRINFO(("chmod %o %s\n", log->mode, file2));
590 if (chmod(file2, log->mode)
    [all...]

Completed in 34 milliseconds