58 _Inout_ int*
const flushed_stream_count
66 long const stream_flags =
stream.get_flags();
74 ++*flushed_stream_count;
128 if (!common_flush_all_should_try_to_flush_stream(stream, &count))
150 return flush_read_mode_streams ?
count :
error;
179 return _fflush_nolock(stream.public_stream());
215 __crt_cached_ptd_host
ptd;
231 int const bytes_to_write =
static_cast<int>(
stream->_ptr -
stream->_base);
235 if (bytes_to_write <= 0)
241 if (bytes_to_write != bytes_written)
@ __acrt_stdio_index_lock
int __cdecl _write_internal(_In_ int _FileHandle, _In_reads_bytes_(_MaxCharCount) void const *_Buf, _In_ unsigned int _MaxCharCount, _Inout_ __crt_cached_ptd_host &_Ptd)
void __cdecl __acrt_stdio_reset_buffer(__crt_stdio_stream const stream)
auto __acrt_lock_stream_and_call(FILE *const stream, Action &&action) -> decltype(action())
__crt_stdio_stream_data ** __piob
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
static bool __cdecl common_flush_all_should_try_to_flush_stream(_In_ __crt_stdio_stream const stream, _Inout_ int *const flushed_stream_count)
static bool __cdecl is_stream_flushable(long const stream_flags)
int __cdecl _fflush_nolock(FILE *const public_stream)
int __cdecl __acrt_stdio_flush_nolock(FILE *const public_stream, __crt_cached_ptd_host &ptd)
static bool __cdecl is_stream_allocated(long const stream_flags)
static int __cdecl _fflush_nolock_internal(FILE *const public_stream, __crt_cached_ptd_host &ptd)
int __cdecl fflush(FILE *const public_stream)
static bool __cdecl is_stream_flushable_or_commitable(long const stream_flags)
static int __cdecl common_flush_all(bool const flush_read_mode_streams)
GLuint GLuint GLsizei count
_Check_return_ _CRTIMP int __cdecl _fileno(_In_ FILE *_File)
static struct file_entry * first_file
static struct file_entry * last_file
_Check_return_opt_ _CRTIMP int __cdecl _commit(_In_ int _FileHandle)