Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3) — SunOS 4.0

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. 

FILES

/tmp/.getwd It exists for the sole purpose of the getwd() library routine; no other software should depend on its existence or contents. 

Sun Release 4.0  —  Last change: 18 January 1988

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