getwd(3BSD) (BSD System Compatibility) getwd(3BSD)
NAME
getwd - (BSD) get current working directory pathname
SYNOPSIS
/usr/ucb/cc [flag . . . ] file . . .
#include <sys/param.h>
char *getwd(char pathname[MAXPATHLEN]);
DESCRIPTION
getwd copies the absolute pathname of the current working
directory to pathname and returns a pointer to the result.
RETURN VALUE
getwd returns zero and places a message in pathname if an
error occurs.
REFERENCES
getcwd(3C)
Copyright 1994 Novell, Inc. Page 1