getcwd(2)
DESCRIPTION
copy the caller's working directory.
SYNOPSIS
long getcwd(char *buffer, size_t length);
ERRORS
-EFAULT- The output buffer is inaccessible.
-ERANGE- The buffer is too small.
-ESRCH- There is no current process.
copy the caller's working directory.
long getcwd(char *buffer, size_t length);
-EFAULT-ERANGE-ESRCH