nn::hio::CTR::HostFile::Seek Member Function

Syntax

#include <nn/hio.h>
Result Seek(
     s64 * pPosition,
     s64 offset,
     SeekType type
);

Arguments

Name Description
out pPosition Stores the new offset from the beginning of the file.
in offset Specifies the relative offset from the base position.
in type Specifies the base position.

Return Values

Returns the result of the operation.

Description

Changes the starting position for read and write operations.

Revision History

2010/03/31
Initial version.

CONFIDENTIAL