FileTell

2019/07/17 19:00
20

int FileTell( int handle)

現在のファイル位置を返す。
エラー情報の詳細を得たい場合はGetLastError()関数を呼び出す。
Parameters:
handle - FileOpen()関数によって返されたファイルハンドル
Sample:
int handle;
int pos;
handle=FileOpen(“my_table.dat”, FILE_BIN|FILE_READ);
// reading some data
pos=FileTell(handle);
Print("current position is ", pos);

コメント