mirror of
https://github.com/reactos/reactos.git
synced 2025-06-08 02:40:32 +00:00
21 lines
349 B
C++
21 lines
349 B
C++
![]() |
//
|
||
|
// ncommode.cpp
|
||
|
//
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//
|
||
|
// Defines _commode, which sets the default file commit mode to nocommit.
|
||
|
//
|
||
|
#include <corecrt_internal_stdio.h>
|
||
|
|
||
|
|
||
|
|
||
|
// Set default file commit mode to nocommit
|
||
|
extern "C" int _commode = 0;
|
||
|
|
||
|
|
||
|
|
||
|
extern "C" int* __cdecl __p__commode()
|
||
|
{
|
||
|
return &_commode;
|
||
|
}
|