TrySetPriority

nn::fs::FileOutputStream::TrySetPriority Member Function

Syntax

Result TrySetPriority(
     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.

Description

Sets a stream's access priority.

This function sets the process priority of operations on a stream.

For details on the priority argument, see PriorityForApplication.

For details on access priorities, see Access Priorities.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL