www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/19/06:12:38

Date: Tue, 19 Mar 1996 11:01:19 +0000 (GMT)
From: Dominic Hibbs <mtx064 AT coventry DOT ac DOT uk>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: "x DOT pons AT cc DOT uab DOT es" <ILGES AT cc DOT uab DOT es>, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Opening more than 45 files (again)
In-Reply-To: <Pine.SUN.3.91.960317161506.16543I-100000@is>
Message-Id: <Pine.OSF.3.91.960319105508.14770A-100000@leofric>
Mime-Version: 1.0

On Sun, 17 Mar 1996, Eli Zaretskii wrote:
> 
> On Thu, 14 Mar 1996, Dominic Hibbs wrote:
> 
> > > in your configuration that causes this problem.  On my machine, it always 
> > > stops 5 handles before what FILES= setting says (3 standard handles + 2 
> > > more that some TSRs I install use). 
> > 
> > Actually the five files are 
> > stdin			CON
> > stdout			CON
> > stderr	
> > the printer		PRN
> > the auxilliary file	AUX
> > and I can't remember the proper name for the error file.
> 
> `stderr' is also connected to CON by default.  But you are wrong about 
> the 5 handles.  From the system (DOS) point of view, only 3 files are 
> open: CON (3 times), PRN and AUX.
> 
Isn't that the same? - I know that handles 0 to 4 are in use by the above 
and that the first file handle allocated when a file is opened is number 
5. Opening COM1 (AUX) gives me file handle 3 and LPT1 gives me 4. 
stderr is accessed on a different handle and is not normally redirectable 
while stdin and stdout are.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019