[comp.sys.ibm.pc] Procomm, file pointers, and MS C

crimmins@uxc.cso.uiuc.edu.UUCP (02/19/87)

/* Written  9:23 pm  Feb 15, 1987 by jai@im4u.UUCP in uxc.cso.uiuc.edu:comp.sys.ibm.pc */
>
>The question: are the standard files actually opened by MS C at the
>start of the program?  The above would appear to indicate not.
>
>Jai.

From MSC 4.0 Docs:

" When a program begins execution, five file handles, corresponding to the
standard input, standard output, standard error, standard auxiliary, and
standard print, are already assigned." ... " They are automatically opened
when the program begins, as shown from the output from the following
short program..."

They are opened.  Procomm does have several files open simultaneously, and
the DOS default of 8 is not enough to cover Procomm's needs as well as
those of your program.

----
Dan Crimmins
University of Illinois at Urbana-Champaign
Computing Services Office - Micro Consulting Dept.

ARPA:	crimmins@uiucuxc.cso.uiuc.edu
BITNET:	crimmins@uiucuxc.bitnet
CSNET:	crimmins@uiucuxc.csnet
UUCP:	{ihnp4,pur-ee,convex}!uiucdcs!uiucuxc!crimmins