ReactOS 0.4.16-dev-1020-gf135cab
_freebuf.cpp File Reference
Include dependency graph for _freebuf.cpp:

Go to the source code of this file.

Functions

void __cdecl __acrt_stdio_free_buffer_nolock (FILE *const public_stream)
 

Function Documentation

◆ __acrt_stdio_free_buffer_nolock()

void __cdecl __acrt_stdio_free_buffer_nolock ( FILE *const  public_stream)

Definition at line 15 of file _freebuf.cpp.

16{
17 _ASSERTE(public_stream != nullptr);
18
19 __crt_stdio_stream const stream(public_stream);
20
21 if (!stream.is_in_use())
22 return;
23
24 if (!stream.has_crt_buffer())
25 return;
26
27 _free_crt(stream->_base);
28
30 stream->_base = nullptr;
31 stream->_ptr = nullptr;
32 stream->_cnt = 0;
33}
@ _IOBUFFER_CRT
@ _IOBUFFER_SETVBUF
#define _ASSERTE(expr)
Definition: crtdbg.h:114
#define _free_crt
Definition: parse.h:23

Referenced by __acrt_uninitialize_stdio(), __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(), and _fclose_nolock_internal().