KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q34856: Run-Time Limits for C Version 5.10

Article: Q34856
Product(s): See article
Version(s): 5.10   | 5.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | | mspl13_c
Last Modified: 12-OCT-1988

The following is a table of run-time limits in the Microsoft C
Compiler Version 5.10:

Program Limits at Run Time

Item            Description                 Limit

Files           Maximum file size           (2**32) - 1 bytes
                                            (i.e., 4 gigabytes)
        (or limit imposed by DOS, 32 megabytes
        as of DOS 3.3)

                Maximum number
                of open files (streams)     20
                (Five streams are opened automatically (stdin,
                stdout, stdaux, and stdprn), leaving 15 files
                available for the program to open.
        Instructions for increasing this limit up to 127 are
        included in the README.DOC of Version 5.10.)

Command line    Maximum number of           128
                characters(including
                program name)

Environment     Maximum size                32K
table

This table is listed on Page 286 of the user's guide contained
in the "Microsoft C 5.1 Optimizing Compiler" manual.

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.