Searched refs:fd1 (Results 1 – 1 of 1) sorted by relevance
45 int fd1, fd2; in is_same() local50 fd1 = open(file1, O_RDONLY); in is_same()51 if (fd1 < 0) in is_same()58 ret = fstat(fd1, &st1); in is_same()68 map1 = mmap(NULL, st1.st_size, PROT_READ, MAP_PRIVATE, fd1, 0); in is_same()83 close(fd1); in is_same()