🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Opening more files in C

#5014
From: Ralf Brown
Date: Tue, 05 Mar 1991 03:19
20 lines
1595 bytes
In article <182@rand.mel.cocam.oz.au> rdb@rand.mel.cocam.oz.au (Rodney Brown) writes:
}My understanding of the limits on the number of files handles a process can
}open on MS-DOS.
}
}DOS 2.11	Remaining number of files left from CONFIG FILES =
}		by other processes
}
}DOS 3.0		Minimum of above remainder and 20

The limit for DOS 2.x is that same as for DOS 3.0-3.2, except that the handle
table can't be moved or expanded, because the address is hardwired into DOS
instead of being a pointer in the PSP.  It is possible, however, to sneak
around the open file limit by swapping descriptor values in and out of the
handle table (doing so is of course making use of undocumented DOS features).

--
{backbone}!cs.cmu.edu!ralf  ARPA: RALF@CS.CMU.EDU   FIDO: Ralf Brown 1:129/3.1
BITnet: RALF%CS.CMU.EDU@CMUCCVMA   AT&Tnet: (412)268-3053 (school)   FAX: ask
DISCLAIMER?  Did  | It isn't what we don't know that gives us trouble, it's
I claim something?| what we know that ain't so.  --Will Rogers
Technical Details
Message-ID: <1991Mar5.031917.13143@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf
References: <1991Feb19.043755.1109@cerberus.bhpese.oz.au> <182@rand.mel.cocam.oz.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!ralf
From: ralf+@cs.cmu.edu (Ralf Brown)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Opening more files in C
Message-ID: <1991Mar5.031917.13143@cs.cmu.edu>
Date: 5 Mar 91 03:19:17 GMT
References: <1991Feb19.043755.1109@cerberus.bhpese.oz.au> <182@rand.mel.cocam.oz.au>
Sender: netnews@cs.cmu.edu (USENET News Group Software)
Organization: School of Computer Science, Carnegie Mellon
Lines: 20