Intel® Fortran Compiler XE 13.1 User and Reference Guides

PXFGETCWD

POSIX Subroutine: Returns the path of the current working directory.

Module

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.


Submit feedback on this help topic