Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getcwd(3C)



getwd(3-BSD)      MISC. REFERENCE MANUAL PAGES       getwd(3-BSD)



NAME
     getwd - get current working directory pathname

SYNOPSIS
     cc [ flag... ] file ... -lucb #include <sys/param.h>
     char *getwd(pathname)
     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.

SEE ALSO
     getcwd(3C) in the Programmer's Reference Manual.





































                                                                1



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