Searched refs:fd1 (Results 1 – 1 of 1) sorted by relevance
43 int fd1, fd2; in is_same() local48 fd1 = open(file1, O_RDONLY); in is_same()49 if (fd1 < 0) in is_same()56 ret = fstat(fd1, &st1); in is_same()66 map1 = mmap(NULL, st1.st_size, PROT_READ, MAP_PRIVATE, fd1, 0); in is_same()81 close(fd1); in is_same()