PSX_GETCWD

Rename a file

Description:

Provides a Fortran interface to obtain the current working directory. Some Fortran implementations provide a GETCWD builtin but this is provided for compatibility.

Invocation

CALL PSX_GETWCD( CWD, STATUS )

Arguments

CWD = CHARACTER ( ) (Returned)
On exit contains the name of the current directory. Status will be set to PSX__TRUNC if the string is too short to hold the directory.
STATUS = INTEGER (Given & Returned)
The global status.

Notes:

Internally, may use getwd or getcwd.

References

Copyright

Copyright (C) Particle Physics and Astronomy Research Council 2006