delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/28/18:05:39

Date: Sun, 28 Aug 94 17:20:57 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: ele AT clients DOT switch DOT ch
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Bug in stdio.h ?
Reply-To: babcock AT cfa DOT harvard DOT edu

> Assuming that FOPEN_MAX in stdio.h defines the maximum number of
> concurrently open files, the value of 256 does not reflect my own
> experiences.
> 
> The maximum available in my programs seems to be 35, and once
> gone beyond that limit, various side effects (in memory
> allocation) seem to occur?

I'll ask the obvious question: what do you have for FILES=... in config.sys?
I'd guess 40.  (5 handles are probably used up by stdin, stdout, stderr,
stdaux and stdprn.)

- Raw text -


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