FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
io_printbuff_wstr.c
Go to the documentation of this file.
1
/* low-level print to console function */
2
3
#include "../fb.h"
4
#include "
fb_private_console.h
"
5
6
void
fb_ConsolePrintBufferWstrEx
(
const
FB_WCHAR
*
buffer
,
size_t
len,
int
mask )
7
{
8
/* !!!FIXME!!! no support for unicode output */
9
10
char
*temp = alloca( len + 1 );
11
12
if
( len > 0 )
13
fb_wstr_ConvToA
( temp, buffer, len );
14
else
15
*temp =
'\0'
;
16
17
fb_ConsolePrintBufferEx
( temp, len, mask );
18
}
19
20
void
fb_ConsolePrintBufferWstr
(
const
FB_WCHAR
*
buffer
,
int
mask )
21
{
22
fb_ConsolePrintBufferWstrEx
( buffer,
fb_wstr_Len
( buffer ), mask );
23
}
rtlib
dos
io_printbuff_wstr.c
Generated on Thu Jan 23 2014 19:40:09 for FreeBASIC by
1.8.4