C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
_chdrive
 Description Example                     Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   <direct.h>, <errno.h>
 
  Syntax:    int _chdrive( int drive );
 
  Returns:   0 if successful, or a nonzero value if not.
 
  See also:  _getdrive, _getdcwd, _chdir, _splitpath, _makepath
                                    -♦-