R
ravi
Hello friends
I am currently porting an administration software package from UNIX to
DOS.
The package is written in C and uses C-ISAM. I am using the Microsoft
C/C++ compiler for DOS. I do not use C++, just straight vanilla C. The
software uses a lot of simultaneously open files. I now have a problem
which may be related to a limitation in the maximum number of open files
simultaneously.
I have found two definitions in stdio.h that do not make me too happy.
FOPEN_MAX is set to 18 and SYS_OPEN to 20 ( or maybe the other way
around ). When consulting the Help it tells me that this determines the
maximum of simultaneously open files. I would very much appreciate if
someone who knows about this can point me in the right direction.
Is it possible to change these constants ? Does the FILES= parameter in
config.sys not count at all ? Am I completely on the wrong track ? How is
the weather where you live ?
Thank you in advance.
I am currently porting an administration software package from UNIX to
DOS.
The package is written in C and uses C-ISAM. I am using the Microsoft
C/C++ compiler for DOS. I do not use C++, just straight vanilla C. The
software uses a lot of simultaneously open files. I now have a problem
which may be related to a limitation in the maximum number of open files
simultaneously.
I have found two definitions in stdio.h that do not make me too happy.
FOPEN_MAX is set to 18 and SYS_OPEN to 20 ( or maybe the other way
around ). When consulting the Help it tells me that this determines the
maximum of simultaneously open files. I would very much appreciate if
someone who knows about this can point me in the right direction.
Is it possible to change these constants ? Does the FILES= parameter in
config.sys not count at all ? Am I completely on the wrong track ? How is
the weather where you live ?
Thank you in advance.