Points to the _commode global variable, which specifies the default file commit mode for file I/O operations.


int * __p__commode(

Return value

Pointer to the _commode global variable.


The __p__commode function is for internal use only, and shouldn't be called from user code.

File commit mode specifies when critical data is written to disk. For more information, see fflush.

By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.


Routine Required header
__p__commode internal.h