Article View: comp.os.msdos.programmer
Article #5548How to change Number of Open Files
From: Susie Chu RCS
Date: Sun, 31 Mar 1991 01:11
Date: Sun, 31 Mar 1991 01:11
22 lines
1320 bytes
1320 bytes
Can someone tell me how to change the number of files that can
be open simutaaneously?
My system is runing MSDOS 4.1 and I am using Turbo C 2.0.
I have a program that needs to open more than 20 files. I
have tried to
(1) in config.sys, change FILES=35
(2) in Turbo C 2.0 include/stdio.h, change
#define OPEN_MAX 35
#define SYS_OPEN 355
(3) in Turbo C 2.0 include/dos.h, change
#define NFDS 35
It doesn't help. I still failed in openning 21st file. I suspect
it is in the libc. But I don't know how to check and modify it.
If you do know, please tell me. I will appreciate very much.
Thanks in advance.
---Susie Chu
net address: chu@pioneer.arc.nasa.gov
UUCP: {ihnp4,ucbvax,nike,lll-crg}!ames!pioneer!chu
Disclaimer: NASA is in no way responsible for the content of the previous mes-
sag I take full and sole responsibility.
Technical Details
Message-ID:
<1991Mar31.011139.8147@news.arc.nasa.gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!linac!att!pacbell.com!ames!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!linac!att!pacbell.com!ames!usenet From: chu@pioneer.arc.nasa.gov (Susie Chu RCS) Newsgroups: comp.os.msdos.programmer Subject: How to change Number of Open Files Message-ID: <1991Mar31.011139.8147@news.arc.nasa.gov> Date: 31 Mar 91 01:11:39 GMT Sender: usenet@news.arc.nasa.gov (USENET Administration) Organization: NASA Ames Res. Ctr. Mtn Vw CA 94035 Lines: 22