Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3C) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getcwd(3C)



getwd(3C)                      DG/UX 5.4R3.00                      getwd(3C)


NAME
       getwd - get current working directory pathname

SYNOPSIS
       char *getwd(pathname)
       char *pathname;

DESCRIPTION
       getwd copies the absolute pathname of the current working directory
       to pathname and returns a pointer to the result.

LIMITATIONS
       The maximum pathname length is limited by the length of the array
       pathname.  The getwd function has no way of knowing the length of the
       array passed in.  It is the programmer's responsibility to pass an
       array of sufficient size to hold the current path or an undefined
       behavior will result.

DIAGNOSTICS
       getwd returns zero and sets errno to an appropriate value if an error
       occurs.

SEE ALSO
       getcwd(3C).

































Licensed material--property of copyright holder(s)                         1


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