We already covered almost all basic types (stat system call - types):
check file:
S_ISREG(m) is it a regular file?
check directory:
S_ISDIR(m) directory?
check device:
S_ISCHR(m) character device?
S_ISBLK(m) block device?
check fifo (maybe?):
S_ISFIFO(m) FIFO (named pipe)?
not implemented currently (and probably not needed):
S_ISLNK(m) symbolic link? (Not in POSIX.1-1996.)
S_ISSOCK(m) socket? (Not in POSIX.1-1996.)
For these reasons, i think the new 'check fifo' is better then
sharing the 'check file' statement.
What do you think?