🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #196

Re: Using >20 files in OS/2

#196
From: Lewis Bruck
Date: Tue, 21 Nov 1989 02:33
12 lines
1127 bytes
The way I was able to get around this problem was to dig through the
microsoft startup code (ughh...) until I found a variable called _nfile.
To increase the number of file handles, call DosSetMaxFH and assign
a higher number to _nfile (remember to declare it as extern to keep the
linker happy).  It important to remember that simply calling DosSetMaxFH()
does not give you all the requested file handles (i.e. if the rest of the
system is using 100 filehandles, then you would only be able to use about
155 filehandles in the process).  Compare the 255 file handle maximum in 1.1
to the 100,000 in Netware 386...

Lewis Bruck
not officially representing anyone...
Technical Details
Message-ID: <1989Nov21.023331.4438@eng.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!dftsrv!mimsy!mojo!lbruck
References: <14570001@otter.hpl.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!dftsrv!mimsy!mojo!lbruck
From: lbruck@eng.umd.edu (Lewis Bruck)
Newsgroups: comp.os.os2
Subject: Re: Using >20 files in OS/2
Message-ID: <1989Nov21.023331.4438@eng.umd.edu>
Date: 21 Nov 89 02:33:31 GMT
References: <14570001@otter.hpl.hp.com>
Sender: news@eng.umd.edu (The News System)
Reply-To: lbruck@eng.umd.edu (Lewis Bruck)
Organization: Merriversity of Uniland, College Purgatory
Lines: 12