home *** CD-ROM | disk | FTP | other *** search
- @node getwd, file system
- @subheading Syntax
-
- @example
- #include <unistd.h>
-
- char *getwd(char *buffer);
- @end example
-
- @subheading Description
-
- Get the current directory and put it in @var{buffer}. The return value
- includes the drive specifier.
-
- @subheading Return Value
-
- @var{buffer} is returned.
-
- @subheading Example
-
- @example
- char buf[PATH_MAX];
- getwd(buf);
- @end example
-
-