https://emily.shillest.net/ayaya/index.php?マニュアル/関数/FSEEK
Prev
Next
Manual/Function
FSEEK
†
↑
Format
†
FSEEK(
path
,
offset
,
origin
)
↑
Function
†
ファイル読み書きの際の位置(ファイル位置指示子)を移動します。
↑
Arguments
†
path
FOPENで指定したファイル名
offset
移動するバイト数
origin
移動の原点となる位置を文字列で指定します。
origin
移動の原点
SEEK_CUR または current
現在の位置
SEEK_END または end
ファイル末尾
SEEK_SET または start
ファイルの先頭
↑
Return value
†
成功した場合、1
失敗した場合、0
注意:FSEEK/FTELLは改行コード自動変換の都合でバイナリモード以外では想定通りに動作しない場合があります。使う場合はFOPENでバイナリモードの指定を検討してください。
↑
Related
†
Manual/Function/FTELL
↑
Version
†
【TODO】バージョンを記載
↑
Example
†
No example yet.
Someone please provide one!
Prev
Manual/Function/FRENAME
Next
Manual/Function/FSIZE
Home
Up
Last modified on: 2023-04-11 (Tuesday) 23:52:09
Related pages:
Manual/List of functions by purpose
Manual/Function/FOPEN
Manual/Function/FTELL
Manual/Function
Manual/Function/FSIZE
Manual/Function/FRENAME