FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_print_wstr.c
Go to the documentation of this file.
1
/* print # function (formating is done at io_prn) */
2
3
#include "
fb.h
"
4
5
/*:::::*/
6
int
fb_hFilePrintBufferWstrEx
7
(
8
FB_FILE
*
handle
,
9
const
FB_WCHAR
*
buffer
,
10
size_t
len
11
)
12
{
13
int
res;
14
15
fb_DevScrnInit_WriteWstr
( );
16
17
if
( !
FB_HANDLE_USED
(handle) )
18
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
19
20
res =
fb_FilePutDataEx
( handle, 0, buffer, len,
TRUE
,
TRUE
,
TRUE
);
21
22
return
res;
23
}
24
25
/*:::::*/
26
int
fb_hFilePrintBufferWstr
27
(
28
int
fnum,
29
const
FB_WCHAR
*buffer
30
)
31
{
32
return
fb_hFilePrintBufferWstrEx
(
FB_FILE_TO_HANDLE
(fnum),
33
buffer,
fb_wstr_Len
( buffer ) );
34
}
rtlib
file_print_wstr.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4