Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

Please tell us how to improve our documentation:


0 of 500

0 of 500



0 of 500
Thank you for your feedback! If you want to participate in content improvement and share additional information, please click Feedback button.
Rate this document:

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

libfui.a

See also

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

Bugs

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