Intel® Fortran Compiler 16.0 User and Reference Guide
POSIX Subroutine: Returns the path of the current working directory.
USE IFPOSIX
CALL PXFGETCWD (buf,ilen,ierror)
buf |
(Output) Character. The returned pathname of the current working directory. |
ilen |
(Output) INTEGER(4). The length of the returned pathname. |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code. A possible error code is EINVAL if the size of buf is insufficient.