Next: , Previous: GetCWD Intrinsic (subroutine), Up: Table of Intrinsic Functions


8.11.9.120 GetCWD Intrinsic (function)

     GetCWD(Name)

GetCWD: INTEGER(KIND=1) function.

Name: CHARACTER; scalar; INTENT(OUT).

Intrinsic groups: unix.

Description:

Places the current working directory in Name. Returns 0 on success, otherwise a nonzero error code (ENOSYS if the system does not provide getcwd(3) or getwd(3)).

For information on other intrinsics with the same name: See GetCWD Intrinsic (subroutine).