home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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)
-