FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
file_getarray.c
Go to the documentation of this file.
1
/* get # function for arrays */
2
3
#include "
fb.h
"
4
5
FBCALL
int
fb_FileGetArray
(
int
fnum,
int
pos,
FBARRAY
*dst )
6
{
7
return
fb_FileGetDataEx
(
FB_FILE_TO_HANDLE
(fnum), pos, dst->
ptr
, dst->
size
,
NULL
,
TRUE
,
FALSE
);
8
}
9
10
FBCALL
int
fb_FileGetArrayLarge
(
int
fnum,
long
long
pos,
FBARRAY
*dst )
11
{
12
return
fb_FileGetDataEx
(
FB_FILE_TO_HANDLE
(fnum), pos, dst->
ptr
, dst->
size
,
NULL
,
TRUE
,
FALSE
);
13
}
14
15
FBCALL
int
fb_FileGetArrayIOB
(
int
fnum,
int
pos,
FBARRAY
*dst,
size_t
*bytesread )
16
{
17
return
fb_FileGetDataEx
(
FB_FILE_TO_HANDLE
(fnum), pos, dst->
ptr
, dst->
size
, bytesread,
TRUE
,
FALSE
);
18
}
19
20
FBCALL
int
fb_FileGetArrayLargeIOB
(
int
fnum,
long
long
pos,
FBARRAY
*dst,
size_t
*bytesread )
21
{
22
return
fb_FileGetDataEx
(
FB_FILE_TO_HANDLE
(fnum), pos, dst->
ptr
, dst->
size
, bytesread,
TRUE
,
FALSE
);
23
}
rtlib
file_getarray.c
Generated on Thu Jan 23 2014 19:40:11 for FreeBASIC by
1.8.4