Searched refs:S_IFMT (Results 1 – 4 of 4) sorted by relevance
22 #define S_IFMT 00170000 macro36 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)37 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)39 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)40 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)41 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)42 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO)44 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
105 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
131 (st.st_mode & S_IFMT) != S_IFREG) { in fseeko()
159 return mknod(__p, (__m & ~S_IFMT) | S_IFIFO, (dev_t)0); in mkfifo()