Shinobi Library - File System Function

gdFsSeek

Searches for a file

FORMAT

Sint32 gdFsSeek( gdfs, sctno, type )
GDFS gdfs
Sint32 sctno
Sint32 type

PARAMETER

 gdfs  File handle 
 sctno  Sector number 
 type  Type 
   GDD_SEEK_SET:File start 
   GDD_SEEK_CUR:Current file reading position 
   GDD_SEEK_END:File end 

RETURN

GDD_ERR

DESCRIPTION

Moves the file reading pointer.

EXAMPLE

GDFS gf;
gf = gdFsOpen("TEST.BIN", NULL);
/* Search in the 5th sector of the starting address */
gdFsSeek(gf, 5, SEEK_SET);

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