Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 2 of 2) sorted by relevance

/xen/tools/libxl/
A Dtest_fdderegrace.c46 int fd2 = open("/dev/null", O_RDONLY); in main() local
47 assert(fd2 == fd); in main()
/xen/xen/tools/kconfig/
A Dconfdata.c43 int fd1, fd2; in is_same() local
52 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