nn::fs::FileOutputStream::Seek Member Function

Syntax

virtual void Seek(
     s64 position,
     PositionBase base
);

Parameters

Name Description
in position Specifies the position to change the access position to.
in base Specifies the base position used to change the access position.

Return Values

None.

Description

Changes the access position in the file.

Sets the access position to position, relative to base.

Because this function does not return processing results, applications cannot use it for error handling. Use TrySeek for anything other than a ROM archive.

This function is implemented to show an error screen when errors occur internally, whether or not such errors are fatal. Control does not return from the function in this case. Use nn::fs::FileOutputStream::TrySeek on everything other than ROM archives.

To read details about error handling, see Handling Errors During File and Directory Operations.

Revision History

2010/12/24
Added a link to the error handling page.
2010/01/29
Initial version.

CONFIDENTIAL