get the current working path
char * _getcwd( char * buffer, int maxlen )
returns a pointer to buffer. A NULL return value indicates an error.
EX1
void getcwd_ex1() { char szcurDirectory[MAXFULLPATH]; if ( _getcwd(szcurDirectory, MAXFULLPATH) != NULL ) { out_str(szcurDirectory); } }
Get the current working directory.
origin.h