Shinobi Library - File System Function

gdFsGetNumRd

Gets the number of bytes that were read

FORMAT

Sint32 gdFsGetNumRd(GDFS gdfs);

PARAMETER

 gdfs  File handle 

RETURN

 0 or greater  Number of bytes that were read 

DESCRIPTION

Gets the number of bytes that were read.

EXAMPLE

GDFS gf;
Uint32 buf[32*2048/4];
gf = gdFsOpen("TEST.BIN", NULL);
gdFsReqRd32(gf, 32, buf);
while (gdFsGetStat(gf) != GDD_STAT_COMPLETE) {
  readnum = gdFsGetNumRd(gdfs);
}
gdFsClose(gf);

gdFsGetNumRd
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999