HelenOS sources

S_IFDIR           400 uspace/app/mkmfs/mkmfs.c 	ino_buf[MFS_ROOT_INO - 1].i_mode = S_IFDIR;
S_IFDIR           438 uspace/app/mkmfs/mkmfs.c 	ino_buf[MFS_ROOT_INO - 1].i_mode = S_IFDIR;
S_IFDIR            39 uspace/lib/minix/minix.h #define S_ISDIR(m)		(((m) & S_IFMT) == S_IFDIR)
S_IFDIR            74 uspace/lib/posix/include/posix/sys/stat.h #define S_ISDIR(m) ((m & S_IFDIR) != 0)
S_IFDIR           392 uspace/lib/posix/src/stdio.c 	if ((sbuf.st_mode & S_IFMT) != S_IFDIR)
S_IFDIR            64 uspace/lib/posix/src/sys/stat.c 		dest->st_mode |= S_IFDIR;
S_IFDIR           437 uspace/srv/fs/mfs/mfs_ops.c 		ino_i->i_mode = S_IFDIR;
HelenOS homepage, sources at GitHub