Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chdir(3F) — Sun FORTRAN 1.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chdir(2)

cd(1)

perror(3F)

CHDIR(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

chdir − change default directory

SYNOPSIS

integer function chdir (dirname)
character∗(∗) dirname

DESCRIPTION

Change the default directory for creating and locating files to dirname.  Zero is returned if successful; an error code otherwise. 

FILES

libF77.a

SEE ALSO

chdir(2), cd(1), perror(3F)

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 cause the runtime system to lose track of files created with relative pathnames (including files created by open statements without file names). 

Sun Release 4.1  —  Last change: 12 June 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026