Node: GetCWD Intrinsic (function), Next: GetEnv Intrinsic, Previous: GetCWD Intrinsic (subroutine), Up: Table of Intrinsic Functions
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 non-zero 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).