CHDIR(3F) — FORTRAN LIBRARY ROUTINES
NAME
chdir − change default directory
SYNOPSIS
integer function chdir (dirname)
character∗(∗) dirname
DESCRIPTION
The default directory for creating and locating files will be changed to dirname. Zero is returned if successful; an error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
Use of this function may cause inquire by unit to fail.
Certain FORTRAN file operations reopen files by name. Using chdir while doing I/O may result in the run-time system to lose track of files created with relative pathnames (including files created by OPEN statements without file names).
Sun Release 3.2 — Last change: 13 June 1983