Intel® Fortran Compiler 17.0 Developer Guide and Reference
POSIX Function: Tests whether a file is a directory.
USE IFPOSIX
result = PXFISDIR (m)
m |
(Input) INTEGER(4).The value of the st_mode component (field) in the structure stat. |
The result type is logical. If the file is a directory, the result value is .TRUE.; otherwise, .FALSE..