Searched refs:fd2 (Results 1 – 1 of 1) sorted by relevance
45 int fd1, fd2; in is_same() local54 fd2 = open(file2, O_RDONLY); in is_same()55 if (fd2 < 0) in is_same()61 ret = fstat(fd2, &st2); in is_same()72 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0); in is_same()81 close(fd2); in is_same()