Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3) — Ultrix-32 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GETWD(3)

NAME

getwd − get current working directory pathname

SYNTAX

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. 

DIAGNOSTICS

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

RESTRICTIONS

Getwd may fail to return to the current directory if an error occurs. 

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

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