GETWD(2)
NAME
getwd − get current working directory
SYNOPSIS
getwd (path, length)
char path();
int length;
DESCRIPTION
The AUX system call getwd returns the pathname of the current working directory to the string to which the path argument points. The length argument specifies the maximum number of characters that will be written to the string (counting the null byte).