chdir(3f)

Name
chdir - changes default directory

Syntax
integer chdir, err
external chdir
character*len dirname
err = chdir ( dirname )

Description
The chdir function changes the default directory for creating and locating files to dirname.

Restrictions
Pathnames cannot be longer than MAXPATHLEN (as defined in sys/param.h ).

Use of this function may cause inquire by unit to fail on some systems.

Return Values
The function returns zero if it is successful; otherwise, it returns an error code.

Files
libU77.a

See Also
cd(1), chdir(2)