up | Inhaltsverzeichniss | Kommentar

Manual page for GETWD(3)

getwd - (BSD) get current working directory pathname

SYNOPSIS

char *getwd(char *pathname);

DESCRIPTION

Getwd is a BSD function. POSIX provides this functionality with the getcwd.3p function.

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.

SEE ALSO

chdir(2), getcwd(3P)


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97