Sint32 gdFsSeek( gdfs, sctno, type ) GDFS gdfs Sint32 sctno Sint32 type
gdfs | ファイルハンドル |
sctno | 基準位置からのセクタ数 |
type | 基準位置 |
基準位置typeは以下のように指定します。
GDD_SEEK_SET | ファイルの先頭 |
GDD_SEEK_CUR | ファイルの現在の読み込み位置 |
GDD_SEEK_END | ファイルの最後 |
GDFS gf; gf = gdFsOpen("TEST.BIN", NULL); /* Search in the 5th sector of the starting address */ gdFsSeek(gf, 5, SEEK_SET);