Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GETWD(3)  —  C LIBRARY FUNCTIONS

NAME

getwd − get current working directory pathname

SYNOPSIS

#include <sys/param.h>
char ∗getwd(pathname)
char pathname[MAXPATHLEN];

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. 

BUGS

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

Sun Release 3.5  —  Last change: 25 February 1983

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