Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getwd(3) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought



GETWD(3-BSD)        RISC/os Reference Manual         GETWD(3-BSD)



NAME
     getwd - get current working directory pathname

SYNOPSIS
     For -systype svr3 and -systype bsd43:

     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
     Maximum pathname length is MAXPATHLEN characters (1024), as
     defined in <sys/param.h>.

DIAGNOSTICS
     getwd returns zero and places a message in pathname if an
     error occurs.

ORIGINS
     BSD4.3

NOTE
     When these routines are used in a program which is compiled
     in -systype svr3, they are not resolved by libc.a.  See
     intro(3) for more information.



























                        Printed 11/19/92                   Page 1



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