TrySetPosition

nn::fs::FileInputStream::TrySetPosition Member Function

Syntax

virtual Result TrySetPosition(
     s64 position
);

Parameters

Name Description
in position Specifies the read position.

Return Values

Returns the result of the operation.

Description

Sets the current read position relative to the start of the file.

Error handling will differ, depending on the archive. For details, see Handling Errors During File and Directory Operations.

Revision History

2010/12/22
Added a link to the error handling page.
2010/06/14
Initial version.

CONFIDENTIAL