Intel® Fortran Compiler 17.0 Developer Guide and Reference
POSIX Subroutine: Reads the current directory entry.
USE IFPOSIX
CALL PXFREADDIR (idirid,jdirent,ierror)
idirid |
(Input) INTEGER(4). The ID of a directory obtained from PXFOPENDIR. |
jdirent |
(Output) INTEGER(4). A handle of structure dirent. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.
The PXFREADDIR subroutine reads the entry of the directory associated with idirid into the structure associated with handle jdirent.
To get a handle for an instance of the dirent structure, use PXFSTRUCTCREATE with the string 'dirent' for the structure name.