Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3) — NEWS-os 3.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GETWD(3)  —  UNIX Programmer’s Manual

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 zero and places a message in pathname if an error occurs. 

NEWS-OSRelease 3.3

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