Date: Tue, 27 Jun 1995 08:51:30 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: k DOT ashley AT ulcc DOT ac DOT uk Subject: Re: Problems opening > 20 files when using FOPEN Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > is creating for us. The libraries > on most systems I have used set the limit at 256, a number much > greater than 20. One is also limited by the number of file descriptors > the OS is willing to supply which is often smaller, but usually > at least 64 in any self-respecting system. DOS may well limit > us to 15. In all environments, one should be able to DOS limits the number of file descriptors (i.e., handles which are returned by open() function) to the minimum of two numbers: the value of your FILES= setting and 255. DJGPP 1.x supports upto 45 handles, but the number of files you can fopen() is further limited by the size of the table which holds all the FILE objects. This size is currently 20, unless you recompile the library.