SetPriority

nn::fs::SetPriority Function

Syntax

Result SetPriority(
     s32 priority
);

Parameters

Name Description
in priority Process priority (specify nn::fs::PRIORITY_APP_REALTIME, nn::fs::PRIORITY_APP_NORMAL, or nn::fs::PRIORITY_APP_LOW).

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
A value other than the above. An application bug or some other unexpected error.

Description

Sets the priority of the entire file system.

This priority is used for a number of operations such as creating save data and mounting.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL