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