nn::hio::CTR::HostFile::Seek Member Function#include <nn/hio.h>
s64 Seek(
s64 offset,
SeekType type
);
| Name | Description | |
|---|---|---|
| in | offset | Specifies the relative offset from the base position. |
| in | type | Specifies the base position. |
-1. Changes the starting position for read and write operations, and returns the new offset from the beginning of the file.
CONFIDENTIAL