インテル® Fortran コンパイラー 19.0 デベロッパー・ガイドおよびリファレンス

PXFREADDIR

POSIX Subroutine: Reads the current directory entry.

Module

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.

NOTE

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

See Also