- getOffset:error:
Get the current position of the file pointer within the file.
- seekToEndReturningOffset:error:
Places the file pointer at the end of the file referenced by the file handle and returns the new file offset.
Availability 有効性
Technology
- (BOOL)seekToOffset:(unsigned long long)offset
error:(out NSError
* _Nullable *)error;
offset
The offset to seek to. このオフセットへとシークすることになります。
Returns NO
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.
- getOffset:error:
- seekToEndReturningOffset:error: