Searched refs:fd2 (Results 1 – 2 of 2) sorted by relevance
46 int fd2 = open("/dev/null", O_RDONLY); in main() local47 assert(fd2 == fd); in main()
43 int fd1, fd2; in is_same() local52 fd2 = open(file2, O_RDONLY); in is_same()53 if (fd2 < 0) in is_same()59 ret = fstat(fd2, &st2); in is_same()70 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0); in is_same()79 close(fd2); in is_same()
Completed in 31 milliseconds