Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3) — bsd — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GETWD(3)                             BSD                              GETWD(3)



NAME
     getwd - get current working directory pathname

SYNOPSIS
     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.

LIMITATIONS
     Maximum pathname length is MAXPATHLEN characters (1024), as defined in
     <sys/param.h>.

DIAGNOSTICS
     getwd returns 0 and places a message in pathname if an error occurs.

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