Q69237: _bheapseg: Return Value Documented Incorrectly
Article: Q69237
Product(s): See article
Version(s): 6.00 6.00a | 6.00 6.00a
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | docerr | mspl13_c
Last Modified: 25-FEB-1991
The return value for the _bheapseg function is documented incorrectly
on page 147 of the "Microsoft C Reference," in the online help for C
6.00, and in the online help for QuickC versions 2.50 and 2.51.
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.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.