Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!orchid!atbowler From: atbowler@orchid.UUCP Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: MS C open file limit on PC Message-ID: <11098@orchid.waterloo.edu> Date: Thu, 8-Oct-87 00:54:47 EDT Article-I.D.: orchid.11098 Posted: Thu Oct 8 00:54:47 1987 Date-Received: Sat, 10-Oct-87 15:03:24 EDT References: <1576@dicome.UUCP> <173@westmark.UUCP> Reply-To: atbowler@orchid.waterloo.edu (Alan T. Bowler [SDG]) Organization: U. of Waterloo, Ontario Lines: 8 Keywords: help! Xref: utgpu comp.sys.ibm.pc:7562 comp.lang.c:4514 It has already been pointed out that the limits is not in the C implementation but the operating system. As a rule of thumb if you want a program to be portable try not to depend on having too many files open at once. Operating system imposed limits on the order of 20 files are extremely common. It seems to be a favourite number with operating systems implementors although they enforce it in a number of different ways.