Thread View: comp.os.os2.programmer
2 messages
2 total messages
Started by Gerry Lachac
Mon, 06 Aug 1990 23:53
Increasing the number of file handles
Author: Gerry Lachac
Date: Mon, 06 Aug 1990 23:53
Date: Mon, 06 Aug 1990 23:53
8 lines
768 bytes
768 bytes
Has anyone had any success increasing the number of filehandles for an OS/2 protectmode process? I have tried using the DosSetMaxFH API call to set the number of file handles to various numbers between 50 and 255, but I never seem to have more than 20. DosSetMaxFH does not return any errors. I'm probably overlooking something really easy, so any help is much appreciated.
Re: Increasing the number of file handles
Author: Dan SPALDING
Date: Wed, 08 Aug 1990 02:03
Date: Wed, 08 Aug 1990 02:03
15 lines
1144 bytes
1144 bytes
In article <1266@dialogic.UUCP> gerry@dialogic.dialogic.com (Gerry Lachac) writes: > >Has anyone had any success increasing the number of filehandles for an >OS/2 protectmode process? I have tried using the DosSetMaxFH API call >to set the number of file handles to various numbers between 50 and >255, but I never seem to have more than 20. DosSetMaxFH does not >return any errors. if you are using the c-runtime for opening files, you also have to increase the number of handles the c-runtime can handle as well as the FILEBUF table for the buffered io calls (fwrite, fopen, etc.). this is documented in the c startup code in crt*.asm fairly close to _astart. also need to check _file.c. Dan Spalding
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads