Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd.bsd(3) — Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GETWD(3)

NAME

getwd − get current working directory pathname

USAGE

char *getwd(pathname) char *pathname;

DESCRIPTION

Getwd copies the absolute pathname of the current working directory to pathname and returns a pointer to the result. 

NOTES

Maximum pathname length is MAXPATHLEN characters (1024). 

DIAGNOSTICS

Getwd returns zero and places a message in pathname if an error occurs. 

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