Searched refs:S_ISDIR (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.41.6/tests/vfs/ |
| H A D | symlink_trailing_slash.c | 94 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "stat thinks a is directory"); 97 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "stat thinks b is directory"); 100 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "stat thinks b/ is directory"); 103 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "stat thinks a/. is directory"); 106 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "stat thinks a/ is directory"); 117 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "lstat thinks b/ is directory"); 120 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "lstat thinks a/. is directory"); 124 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "lstat thinks a/ is directory"); 134 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "lstat thinks a/ is directory"); 144 T_ASSERT_TRUE(S_ISDIR(st.st_mode), "lstat thinks a/ is directory"); [all …]
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | stat.h | 412 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) /* directory */ macro
|