description | title | ms.date | api_name | api_location | api_type | topic_type | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: _getmaxstdio |
_getmaxstdio |
11/04/2016 |
|
|
|
|
|
|
700ca8ce-4a8c-4e00-9467-dfa9d6b831a0 |
Returns the number of simultaneously open files permitted at the stream I/O level.
int _getmaxstdio( void );
Returns a number that represents the number of simultaneously open files currently permitted at the stdio
level.
Use _setmaxstdio
to configure the number of simultaneously open files permitted at the stdio
level.
Routine | Required header |
---|---|
_getmaxstdio |
<stdio.h> |
For more compatibility information, see Compatibility.
// crt_setmaxstdio.c
// The program retrieves the maximum number
// of open files and prints the results
// to the console.
#include <stdio.h>
int main()
{
printf( "%d\n", _getmaxstdio());
_setmaxstdio(2048);
printf( "%d\n", _getmaxstdio());
}
512
2048