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

S_ISSOCK

Is file a unix socket

Declaration

Source position: oldlinux.pp line 1606

function S_ISSOCK(

  m: Word

):Boolean;

Description

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

See also

FStat

  

Retrieve information about a file

S_ISFIFO

  

Is file a FIFO

S_ISLNK

  

Is file a symbolic link

S_ISCHR

  

Is file a character device

S_ISBLK

  

Is file a block device

S_ISDIR

  

Is file a directory

S_ISREG

  

Is file a regular file

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