Searched refs:root_fd (Results 1 - 1 of 1) sorted by relevance
/bionic/tests/ |
H A D | dirent_test.cpp | 131 int root_fd = open("/", O_DIRECTORY | O_RDONLY); local 132 ASSERT_NE(-1, root_fd); 135 ASSERT_EQ(-1, scandirat(root_fd, "does-not-exist", &entries, nullptr, nullptr)); 137 close(root_fd); 141 int root_fd = open("/", O_DIRECTORY | O_RDONLY); local 142 ASSERT_NE(-1, root_fd); 145 ASSERT_EQ(-1, scandirat64(root_fd, "does-not-exist", &entries, nullptr, nullptr)); 147 close(root_fd);
|
Completed in 42 milliseconds