Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3C) — SunOS 5.5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getcwd(3C)

getwd(3C)

NAME

getwd − get current working directory pathname

SYNOPSIS

#include <sys/param.h>
#include <unistd.h>

char ∗getwd(char ∗pathname);

DESCRIPTION

getwd() copies the absolute pathname of the current working directory to pathname and returns a pointer to the result. 

RETURN VALUES

getwd() returns zero and places a message in pathname if an error occurs.  pathname points to a character array of at least MAXPATHLEN length. 

SEE ALSO

getcwd(3C)

SunOS 5.5.1  —  Last change: 3 Mar 1995

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