1GETWD(3)                   Library Functions Manual                   GETWD(3)
2
3
4

NAME

6       getwd - get current working directory pathname
7

SYNOPSIS

9       char *getwd(pathname)
10       char *pathname;
11

DESCRIPTION

13       Getwd  copies the absolute pathname of the current working directory to
14       pathname and returns a pointer to the result.
15

LIMITATIONS

17       Maximum pathname length is MAXPATHLEN characters (1024), as defined  in
18       <sys/param.h>.
19

DIAGNOSTICS

21       Getwd returns zero and places a message in pathname if an error occurs.
22
23
24
254.2 Berkeley Distribution        May 12, 1986                         GETWD(3)
Impressum