Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!homxb!mtuxo!mtune!codas!killer!usl!usl-pc!jpd From: jpd@usl-pc.UUCP (DugalJP) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: MS C open file limit on PC Message-ID: <136@usl-pc.UUCP> Date: Tue, 27-Oct-87 12:31:36 EST Article-I.D.: usl-pc.136 Posted: Tue Oct 27 12:31:36 1987 Date-Received: Sat, 31-Oct-87 05:29:09 EST References: <1576@dicome.UUCP> <173@westmark.UUCP> <11098@orchid.waterloo.edu> <5819@ihlpa.ATT.COM> <291@halley.UUCP> Reply-To: jpd@usl-pc.UUCP (DugalJP) Organization: Univ. of Southwestern La., Lafayette Lines: 11 Xref: mnetor comp.sys.ibm.pc:9492 comp.lang.c:5183 In article <291@halley.UUCP> bc@halley.UUCP (Bill Crews) writes: >> FILES= >This changes the number of files that may be concurrently open system-wide, >not per user. The 20-handle limit still exists per process, but with the Not true! It's possible to exceed the 20 file limit per-process by modifying the PSP. It was all described in Dr. Dobbs Journal some time ago. The PSP contains a 20-element list of handles, and a pointer to this list. The tecnique involves replacing the offset with that of a longer list you have allocated somewhere, and copying over the handles and filling the unused list elements.