Mail Archives: djgpp/1996/03/19/06:12:38
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 -