Searched refs:X_OK (Results 1 - 3 of 3) sorted by relevance
/bionic/libc/bionic/ |
H A D | faccessat.cpp | 38 // bitwise OR of one or more of R_OK, W_OK, and X_OK." 39 if ((mode != F_OK) && ((mode & ~(R_OK | W_OK | X_OK)) != 0) && 40 ((mode & (R_OK | W_OK | X_OK)) == 0)) {
|
/bionic/tests/ |
H A D | sys_stat_test.cpp | 253 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0)); 256 ASSERT_EQ(0, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), AT_SYMLINK_NOFOLLOW)); 257 ASSERT_EQ(-1, faccessat(AT_FDCWD, "/dev/null", ~(R_OK | W_OK | X_OK), 0));
|
/bionic/libc/include/ |
H A D | unistd.h | 47 #define X_OK 1 macro
|
Completed in 131 milliseconds