#include <conio.h>
#include <errno.h>
#include <corecrt_internal_lowio.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ _cputws()
Definition at line 18 of file cputws.cpp.
19{
21
23 return -1;
24
25
27
29
31
33 {
35 {
36 static size_t const max_write_bytes = 65535;
37 static size_t const max_write_wchars = max_write_bytes /
sizeof(
wchar_t);
38
39 DWORD const wchars_to_write =
length > max_write_wchars
40 ? max_write_wchars
42
45 string,
46 wchars_to_write,
47 &wchars_written) ==
FALSE)
48 {
51 }
52
53 string += wchars_to_write;
55 }
56 }
58 {
60 }
62
64}
void __cdecl __acrt_unlock(_In_ __acrt_lock_id lock)
__acrt_lock(__acrt_heap_lock)
GLuint GLsizei GLsizei * length
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
BOOL __cdecl __dcrt_lowio_ensure_console_output_initialized()
BOOL __cdecl __dcrt_write_console(_In_ void const *lpBuffer, _In_ DWORD nNumberOfCharsToWrite, _Out_ LPDWORD lpNumberOfCharsWritten)
#define _VALIDATE_CLEAR_OSSERR_RETURN(expr, errorcode, retexpr)