nn::friends::CTR::Logout Function

Syntax

Result Logout();

Arguments

None.

Return Values

Returns the result of the operation.

Value Description
ResultSuccess Process succeeded.
ResultNotInitialized The friend presence library has not been initialized.
Other Some other result may be returned as a result of factors such as the daemon's internal state.

Description

Retracts a login request to a server.

This function succeeds even if it is called when the local host has already logged out. Even if this function succeeds, the local host is not guaranteed to be offline.

In cases where the local host has become disconnected from the server, the system silently transitions to the same state as if this function has been called.

Revision History

2011/03/11
Added specific examples of return values.
2010/08/16
Initial version.

CONFIDENTIAL