msvcrt: _getmaxstdio and _setmaxstdio

Chris chris.kcat at gmail.com
Tue Jul 25 14:16:15 CDT 2006


On Tuesday 25 July 2006 11:54, Phil Lodwick wrote:
> Greetings,
>
> I have an application that requires these functions which are currently
> stubs in wine.  These functions set/retrieve the number of files that can
> be simultaneously open at the stdio level.   As of now the Win32 platform
> has a default of 512 and can be set as high as 2048.

Perhaps it would be best to use getrlimit/setrlimit with RLIMIT_NOFILE, which 
seems to be exactly what this maps to. Should be noted though, that the 
default on some systems is 1024, and you cannot increase this without root 
privs.



More information about the wine-devel mailing list