Gets the full path name of the current working directory on the specified drive.
char *_getdcwd_nolock( int drive, char *buffer, int maxlen ); wchar_t *_wgetdcwd_nolock( int drive, wchar_t *buffer, int maxlen );
_getdcwd_nolock and _wgetdcwd_nolock are identical to _getdcwd and _wgetdcwd, respectively, except that they are not protected from interference by other threads. They might be faster because they do not incur the overhead of locking out other threads. Use these functions only in thread-safe contexts such as single-threaded applications or where the calling scope already handles thread isolation.
_UNICODE and _MBCS not defined
<direct.h> or <wchar.h>
For more compatibility information, see Compatibility in the Introduction.