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

PXFISDIR

POSIX Function: Tests whether a file is a directory.

Module

USE IFPOSIX

result = PXFISDIR (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 directory, the result value is .TRUE.; otherwise, .FALSE..