Shinobi Library - File System Function

gdFsTrans32

Specifies a transfer from the GD buffer

FORMAT

Sint32 gdFsTrans32( gdfs, nbytes, *buf )
GDFS gdfs
Sint32 nbytes
void *buf

PARAMETER

 gdfs  File handle 
 nbytes  Number of bytes to be transferred(32-byte units) 
 *buf  Transfer address 

RETURN

GDD_ERR

DESCRIPTION

Specifies a transfer from the GD buffer Transfer byte count is specified with a 32-byte boundary.

EXAMPLE

while ((stat = gdFsGetStat(gf)) == GDD_STAT_READ) {
  if (gdFsGetTransStat(gf) == GDD_TRANS_READY)
  	gdFsTrans32(gf, 2048, buf);
}

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