Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.