FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_input_wstr.c
Go to the documentation of this file.
1
/* input function for wstring's */
2
3
#include "
fb.h
"
4
5
FBCALL
int
fb_InputWstr
(
FB_WCHAR
*str, ssize_t length )
6
{
7
FB_WCHAR
buffer
[
FB_INPUT_MAXSTRINGLEN
+1];
8
9
fb_FileInputNextTokenWstr
( buffer,
FB_INPUT_MAXSTRINGLEN
,
TRUE
);
10
11
fb_WstrAssign
( str, length, buffer );
12
return
fb_ErrorSetNum
(
FB_RTERROR_OK
);
13
}
rtlib
file_input_wstr.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4