Searched refs:X_OK (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/bionic/ |
D | faccessat.cpp | 39 if ((mode != F_OK) && ((mode & ~(R_OK | W_OK | X_OK)) != 0) && in faccessat() 40 ((mode & (R_OK | W_OK | X_OK)) == 0)) { in faccessat()
|
/bionic/tests/ |
D | sys_stat_test.cpp | 253 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST() 256 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW)); in TEST() 257 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); in TEST()
|
/bionic/libc/include/ |
D | unistd.h | 52 #define X_OK 1 macro
|
/bionic/tests/headers/posix/ |
D | unistd_h.c | 107 MACRO(X_OK); in unistd_h()
|