Lines Matching defs:S_IFMT
214 # ifndef S_IFMT
215 # define S_IFMT 0170000 /* type of file */
225 # endif /* S_IFMT */
239 #ifdef S_IFMT
241 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
244 # define S_ISCHR(a) (((a) & S_IFMT) == S_IFCHR)
247 # define S_ISBLK(a) (((a) & S_IFMT) == S_IFBLK)
250 # define S_ISREG(a) (((a) & S_IFMT) == S_IFREG)
253 # define S_ISFIFO(a) (((a) & S_IFMT) == S_IFIFO)
256 # define S_ISNAM(a) (((a) & S_IFMT) == S_IFNAM)
259 # define S_ISLNK(a) (((a) & S_IFMT) == S_IFLNK)
262 # define S_ISSOCK(a) (((a) & S_IFMT) == S_IFSOCK)
264 #endif /* S_IFMT */