Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcwd(3F) — Sun WorkShop 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chdir(3F)

perror(3F)

getwd(3)

GETCWD(3F)

NAME

getcwd − get the path name of the current working directory

SYNOPSIS

integer function getcwd (dirname)
character∗(∗) dirname

DESCRIPTION

The path name of the default directory for creating and locating files is returned in
dirname. The value of the function is zero if successful, an error code otherwise.

FILES

libF77.a

SEE ALSO

chdir(3F), perror(3F), getwd(3)

BUGS

Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>. 

SunOS 5.0  —  Last change: 07 July 1995

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