Function S_ISFIFO (m:integer) : boolean;
S_ISFIFO checks the file mode m to see whether the file is a fifo (a named pipe). If so it returns True.
FStat, S_ISLNK, S_ISREG, S_ISDIR, S_ISCHR, S_ISBLK, S_ISSOCK
For an example, see ISLNK.