🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3250

# of File Handles?

#3250
From: Andrew Lighten
Date: Thu, 31 Dec 1992 10:32
21 lines
1181 bytes
HXC6@psuv>From: H. Choe <HXC6@psuvm.psu.edu>
HXC6@psuv>Organization: Penn State University
HXC6@psuv>
HXC6@psuv>Hi.  I want to open a bunch of files simultaneously in my fortran
HXC6@psuv>(Watcom F77/386) program.  Here are questions:
HXC6@psuv>(1)  What is the default number of files handles?
HXC6@psuv>(2)  How to set the number of file handles?  (Is there something
HXC6@psuv>     similar to FILES=xx [in config.sys for dos] for OS/2?)  Or,
HXC6@psuv>     do I misunderstand something?
HXC6@psuv>Thanks.

(1) No idea at all. Never bumped into it.

(2) You can do it dynamically. Look at the DosSetMaxFH() function. The
    FILES=n statement in your OS/2 config.sys file is for DOS apps.

Andrew.
___
 * MR/2 1.1 NR * Bugs come in through open Windows.
            
 * Origin: The Lightning BBS - Don't Worry... Be Happy... (3:634/383)
Technical Details
Message-ID: <726186884.AA09589@csource.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!jabaru.cec.edu.au!csource!gateway
From: Andrew.Lighten@f383.n634.z3.fidonet.org (Andrew Lighten)
Newsgroups: comp.os.os2.programmer
Subject: # of File Handles?
Message-ID: <726186884.AA09589@csource.oz.au>
Date: Thu, 31 Dec 1992 10:32:06
Sender: gateway@csource.oz.au
Lines: 21