GNU Info

Info Node: (g77-295.info)GetCWD Intrinsic (subroutine)

(g77-295.info)GetCWD Intrinsic (subroutine)


Next: GetCWD Intrinsic (function) Prev: GetArg Intrinsic Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

GetCWD Intrinsic (subroutine)
.............................

     CALL GetCWD(NAME, STATUS)

NAME: `CHARACTER'; scalar; INTENT(OUT).

STATUS: `INTEGER(KIND=1)'; OPTIONAL; scalar; INTENT(OUT).

Intrinsic groups: `unix'.

Description:

   Places the current working directory in NAME.  If the STATUS
argument is supplied, it contains 0 success or a non-zero error code
upon return (`ENOSYS' if the system does not provide `getcwd(3)' or
`getwd(3)').

   Some non-GNU implementations of Fortran provide this intrinsic as
only a function, not as a subroutine, or do not support the (optional)
STATUS argument.

   For information on other intrinsics with the same name: Note: GetCWD
Intrinsic (function).


automatically generated by info2www version 1.2.2.9