FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_lineinp_wstr.c
Go to the documentation of this file.
1
/* line input function for wstrings */
2
3
#include "
fb.h
"
4
5
FBCALL
int
fb_FileLineInputWstr
(
int
fnum,
FB_WCHAR
*dst, ssize_t max_chars )
6
{
7
FB_FILE
*
handle
=
FB_FILE_TO_HANDLE
(fnum);
8
9
if
( !
FB_HANDLE_USED
(handle) )
10
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
11
12
if
( handle->
hooks
->
pfnReadLineWstr
==
NULL
)
13
return
fb_ErrorSetNum
(
FB_RTERROR_ILLEGALFUNCTIONCALL
);
14
15
return
handle->
hooks
->
pfnReadLineWstr
( handle, dst, max_chars );
16
}
rtlib
file_lineinp_wstr.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4