PXFFSTAT

POSIX Subroutine: Gets a file's status information.

Module: USE IFPOSIX

Syntax

CALL PXFFSTAT (ifildes, jstat, ierror)

ifildes
(Input) INTEGER(4). The file descriptor for an opened file.


jstat
(Input) INTEGER(4). A handle of structure stat.


ierror
(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFFSTAT subroutine puts the status information for the file associated with ifildes into the structure associated with handle jstat.

Note

To get a handle for an instance of the stat structure, use PXFSTRUCTCREATE with the string 'stat' for the structure name.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also

PXFSTRUCTCREATE