Instance Method インスタンスメソッド

seekToEndOfFile

Places the file pointer at the end of the file referenced by the file handle and returns the new file offset.

Declaration 宣言

- (unsigned long long)seekToEndOfFile;

Return Value 戻り値

The file offset with the file pointer at the end of the file. This is therefore equal to the size of the file. ファイル終端でのファイルポインタに関するファイルオフセット。これは、従ってファイルの大きさと等しいです。

Discussion 議論

Raises NSFileHandleOperationException if called on a file handle representing a pipe or socket, if the file descriptor is closed, or if any other error occurs while seeking.

See Also 参照

Deprecated 非推奨