Searched refs:directory_fd (Results 1 – 1 of 1) sorted by relevance
/glibc-2.36/stdio-common/ |
D | tst-renameat2.c | 33 static int directory_fd; variable 50 directory_fd = xopen (directory, O_RDONLY | O_DIRECTORY, 0); in prepare() 104 TEST_COMPARE (renameat2 (directory_fd, "old", AT_FDCWD, new_path, flags), 0); in rename_without_existing_target() 110 TEST_COMPARE (renameat2 (directory_fd, "old", subdirectory_fd, "file", 0), in rename_without_existing_target() 162 TEST_COMPARE (renameat2 (directory_fd, "old", AT_FDCWD, new_path, in do_test() 171 TEST_COMPARE (renameat2 (directory_fd, "old", subdirectory_fd, "file", in do_test() 179 TEST_COMPARE (renameat2 (directory_fd, "ignored", in do_test() 197 xclose (directory_fd); in do_test()
|