Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

PXFSTAT

POSIX Subroutine: Gets a file's status information.

Module

USE IFPOSIX

CALL PXFSTAT (path,ilen,jstat,ierror)

path

(Input) Character. The path to the file.

ilen

(Input) INTEGER(4). The length of path string.

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 PXFSTAT subroutine puts the status information for the file specified by path 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.

See Also