Mail Archives: djgpp/2009/03/24/14:15:49
At 06:50 AM 3/24/2009, you wrote:
>"Ethan Rosenberg" <ethros AT earthlink DOT net> wrote in message
>news:0KGZ00GQ8UBIYMM0 AT mta4 DOT srv DOT hcvlny DOT cv DOT net...
>
>In comp.os.msdos.djgpp,
>
> > I have a program that opens almost 30 files.
>
>How is that possible?... What version of DOS and DJGPP are you using?
>
>According to the following source, DOS limits a single process to a maximum
>of 20 file handles even if config.sys' FILES= line is larger. Three of
>these 20 handles are consumed by stdin, stdout, stderr.
>
>See "RESTRICTIONS ON HANDLE USAGE" in Dave Williams DOSREF22 here:
>http://nersp.nerdc.ufl.edu/~esi4161/files/dosman/chap7
>
>You can find various versions of the entire DOSREF package by searching for
>dosref22.zip, dosref33.zip, or dosref34.zip.
>
> > With fptr27 and fptr25, after approx 20 writes, it gives garbage.
>
>Perhaps, DOS is automatically closing your extra files or DJGPP is reusing
>the file handles... (?)
>
>
>Rod Pemberton
>PS added comp.os.msdos.programmer
+++++++
Thanks.
What version of DOS -- 7.1 the DOS that underlies Windows
98. There is NO Widows OS in my system.
and DJGPP are you using? This I do not know. If you would tell me
where to look, I will.
Ethan Rosenberg
- Raw text -