PRB: _dos_getdrive() Entry in C Reference Has Wrong Drive Data

ID Number: Q72704

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

docerr fixlist7.00

Summary:

The "Microsoft C Reference" for C versions 6.0, 6.0a, and 6.0ax

includes an entry on page 171 for the _dos_getdrive() function that

contains some incorrect information. The error is in the line that

reads:

Uses system call 0x19 to get the current disk drive(A:=0, B:=1).

This line incorrectly implies that the value returned for drive A is 0

(zero) and that the value for drive B is 1. The actual values returned

are 1 for drive A, 2 for drive B, 3 for drive C, and so forth.

The drive values are correctly documented in the online help, as well

as the "Microsoft C Run-Time Library Reference" (available from

Microsoft Press).

Additional reference words: 6.00 6.00a 6.00ax