Searched refs:S_IFMT (Results 1 – 3 of 3) sorted by relevance
9 #define S_IFMT 00170000 macro21 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)23 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)24 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)25 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)26 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)27 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
219 return (st.st_mode & S_IFMT) == S_IFDIR; in is_dir()
214 #define S_IFMT 0170000 macro