[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'oldlinux' (#rtl)

S_ISBLK

Is file a block device

Declaration

Source position: oldlinux.pp line 1604

function S_ISBLK(

  m: Word

):Boolean;

Description

S_ISBLK checks the file mode m to see whether the file is a block device file. If so it returns True.

See also

FStat

  

Retrieve information about a file

S_ISLNK

  

Is file a symbolic link

S_ISREG

  

Is file a regular file

S_ISDIR

  

Is file a directory

S_ISCHR

  

Is file a character device

S_ISFIFO

  

Is file a FIFO

S_ISSOCK

  

Is file a unix socket

The latest version of this document can be found at lazarus-ccr.sourceforge.net.