PRB: _bheapseg: Return Value Documented Incorrectly

ID Number: Q69237

6.00 6.00a 6.00ax 7.00 | 6.00 6.00a

MS-DOS | OS/2

docerr

Summary:

SYMPTOMS

The return value for the _bheapseg() function is documented

incorrectly on page 147 of the "Microsoft C Reference" for versions

6.0, 6.0a, 6.0ax, and 7.0; in the online help for C 6.0, 6.0a, and

6.0ax; and in the online help for QuickC versions 2.5 and 2.51.

The online help for C/C++ 7.0 is correct.

RESOLUTION

On page 147 of the "Microsoft C Reference," the line that reads

Returns The selector for the newly allocated segment

if successful; -1 if not.

should read as follows:

Returns The selector for the newly allocated segment

if successful; 0 (_NULLSEG) if not.

The online help mentions the correct return value for the

_bheapseg() function in the "Summary" section, except that it

specifies NULLSEG instead of _NULLSEG. The paragraph in the

"Description" section titled "Return Value" incorrectly documents

the return value as -1.

Additional reference words: 6.00 6.00a 6.00ax 7.00