This routine gets the fully adorned path name for the current working directory. Refer to the mldgetcwd(3TSOL) man page.
char* mldgetcwd(char *buf, size_t size);