next up previous contents index
Next: S_ISFIFO Up: Functions and procedures Previous: S_ISCHR

S_ISDIR

   

Declaration:

Function S_ISDIR (m:integer) : boolean;

Description:

S_ISDIR checks the file mode m to see whether the file is a directory. If so it returns True

Errors:

FStat, S_ISLNK, S_ISREG, S_ISCHR, S_ISBLK, S_ISFIFO, S_ISSOCK

See also:

For an example, see ISLNK.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998