/sys$common/syshlp/helplib.hlb
CC, Run-time functions, getcwd

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Returns a pointer to the file specification for the current working
  directory.

  Syntax:

       #include <unistd.h>

       char *getcwd (char *buffer, size_t size); (POSIX-1)

       char *getcwd (char *buffer, unsigned int size,...); (Compaq C
       Extension)

  where the ...  is an optional argument that can be either 1 or 0.
  If you specify 1, getcwd returns the directory specification in
  OpenVMS format.  If you specify 0, getcwd returns the directory
  specification (path name) in UNIX style format.  If you do not
  specify this argument, getcwd returns the file name according to
  your current command-language interpreter.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.