Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcwd(3F7768) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chdir(3F7768)

perror(3F7768)

GETCWD(3F7768)  —  NEWS-OS Programmer’s Manual

NAME

getcwd − get pathname of current working directory

SYNOPSIS

integer function getcwd (dirname)
character∗(∗) dirname

DESCRIPTION

The pathname of the default directory for creating and locating files will be returned in dirname. The value of the function will be zero if successful; an error code otherwise.

FILES

/usr/lib/libU7768.a

SEE ALSO

chdir(3F7768), perror(3F7768)

BUGS

Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. 

NEWS-OSRelease 4.2.1R

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