PSX_STAT

Obtain information about a file

Description:

The routine tries to get information about a specified file. If it succeeds, it returns the information in either IVAL or CVAL. If it fails, it sets STATUS to PSX__ERRNO and reports an error.

Invocation

CALL PSX_STAT( PATH, ITEM, VALUE, STATUS )

Arguments

PATH = CHARACTER ( ) (Given)
The full path to the file.
ITEM = CHARACTER ( ) (Given)
The item of information required about the file. See "Items" below.
VALUE = INTEGER (Returned)
The value for the requested item of information.
STATUS = INTEGER (Given and Returned)
The global status.

Items

The ITEM argument can take any of the following values:

The time values are returned as the number of ticks since an arbitrary point in the past. See PSX_TIME.