File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / getwd.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH GETWD 3 "25 February 1983"
.UC 4
.SH NAME
getwd \- get current working directory pathname
.SH SYNOPSIS
.nf
.B char *getwd(pathname)
.B char *pathname;
.fi
.SH DESCRIPTION
.I Getwd
copies the absolute pathname of the current working directory to
.I pathname
and returns a pointer to the result.
.SH LIMITATIONS
Maximum pathname length is MAXPATHLEN characters (1024).
.SH DIAGNOSTICS
.I Getwd
returns zero and places a message in
.I pathname
if an error occurs.
.SH BUGS
.I Getwd
may fail to return to the current directory if an error occurs.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.