Get the current working directory
String_Type getcwd ()
The getcwd function returns the absolute pathname of the
current working directory. If an error occurs or it cannot
determine the working directory, it returns NULL and sets
errno accordingly.
Under Unix, OS/2, and MSDOS, the pathname returned by this function includes the trailing slash character. Some versions also include the drive specifier.
mkdir, chdir, errno