Man Page getcwd.3f




NAME

     getcwd - get the path name of the current working directory


SYNOPSIS

     integer function getcwd (dirname)
     character*(*) dirname


DESCRIPTION

     The path name of the  default  directory  for  creating  and
     locating files is returned in
     dirname.  The value of the function is zero  if  successful,
     an error code otherwise.


FILES

     libF77.a


SEE ALSO

     chdir(3F), perror(3F), getwd(3c)


BUGS

     Path names cannot be longer than MAXPATHLEN  as  defined  in
     <sys/param.h>.