Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcwd(3f) — Ultrix FORTRAN 1.0 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chdir(3f)

perror(3f)

getcwd(3f)  —  RISC

NAME

getcwd − get pathname of current working directory

SYNTAX

integer function getcwd ( dirname )
character*(*) dirname

DESCRIPTION

The getcwd function returns the pathname of the default directory for creating and locating files to dirname.  The value of the function will be zero if successful; an error code otherwise. 

RESCTICTIONS

Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.

FILES

/usr/lib/libU77.a

SEE ALSO

chdir(3f), perror(3f) in the FORTRAN Reference Pages

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