🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #2844

Increasing the number of files a process can open

#2844
From: Cindy Conrod
Date: Mon, 29 Oct 1990 21:57
13 lines
1044 bytes
Has anyone out there used function 67H (Set Handle Count) of DOS interrupt 21
to increase the number of files a process can have open at one time?

This interrupt was added in DOS 3.3, and I know I have to enlarge the PSP (with
function 4AH(Set Memory Block Size)), but I'm not sure what size I should be
enlarging it *to*.

I'd like to be able to do this as part of C-program, using the C-function
intdos() to invoke the appropriate DOS interrupt.

  -Cindy Conrod-

P.S.  Please respond via email.
Technical Details
Message-ID: <60422@bbn.BBN.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!bbn.com!cconrod

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!bbn.com!cconrod
From: cconrod@bbn.com (Cindy Conrod)
Newsgroups: comp.os.msdos.programmer
Subject: Increasing the number of files a process can open
Message-ID: <60422@bbn.BBN.COM>
Date: 29 Oct 90 21:57:43 GMT
Sender: news@bbn.com
Reply-To: cconrod@spca.bbn.com (Cindy Conrod)
Distribution: comp.sys.ibm.pc.programmer, comp.sys.ibm.pc.misc
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Lines: 13