next up previous contents index
Next: S_ISSOCK Up: Functions and procedures Previous: S_ISLNK

S_ISREG

   

Declaration:

Function S_ISREG (m:integer) : boolean;

Description:

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

Errors:

FStat, S_ISLNK, S_ISDIR, 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