PXFISREG

POSIX Function: Tests whether a file is a regular file.

Module

USE IFPOSIX

Syntax

result = PXFISREG (m)

m

(Input) INTEGER(4). The value of the st_mode component (field) in the structure stat.

Results

The result type is logical. If the file is a regular file, the result value is .TRUE.; otherwise, .FALSE..

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also