taglinefilesource code
S_IFMT53include/linux/stat.h#define S_ISLNK(m)  (((m) & S_IFMT) == S_IFLNK)
S_IFMT54include/linux/stat.h#define S_ISREG(m)  (((m) & S_IFMT) == S_IFREG)
S_IFMT55include/linux/stat.h#define S_ISDIR(m)  (((m) & S_IFMT) == S_IFDIR)
S_IFMT56include/linux/stat.h#define S_ISCHR(m)  (((m) & S_IFMT) == S_IFCHR)
S_IFMT57include/linux/stat.h#define S_ISBLK(m)  (((m) & S_IFMT) == S_IFBLK)
S_IFMT58include/linux/stat.h#define S_ISFIFO(m)  (((m) & S_IFMT) == S_IFIFO)
S_IFMT59include/linux/stat.h#define S_ISSOCK(m)  (((m) & S_IFMT) == S_IFSOCK)