FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_input_str.c
Go to the documentation of this file.
1
/* input function */
2
3
#include "
fb.h
"
4
5
FBCALL
int
fb_InputString
(
void
*dst, ssize_t strlen,
int
fillrem )
6
{
7
char
buffer
[
FB_INPUT_MAXSTRINGLEN
+1];
8
int
isfp;
9
10
fb_FileInputNextToken
( buffer,
FB_INPUT_MAXSTRINGLEN
,
TRUE
, &isfp );
11
12
fb_StrAssign
( dst, strlen, buffer, 0, fillrem );
13
14
return
fb_ErrorSetNum
(
FB_RTERROR_OK
);
15
}
rtlib
file_input_str.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4