FSAddClient

Syntax

#include <cafe/fs.h>

FSStatus FSAddClient(FSClient *client, FSRetFlag errHandling);

Parameters

client Pointer to the client buffer.
errHandling Auto error handling flag. Only the indicated errors are returned.

Return Values

FS_STATUS_OK Successfully done.
FS_STATUS_MAX Number of client handles reached the upper limit.

Description

Registers a new FS client.

Do Not Call From

Thread that displays graphics Do not call this function from a thread that displays graphics. This function may block indefinitely in error cases and the application must be able to display appropriate messages.
Thread that handles system messages Do not call this function from a thread that handles system messages. This function may block indefinitely in error cases and the application must be able to handle system events such as shutdown.
Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

Initialization
FSClient
FSDelClient
FSGetClientNum

Revision History

2014/09/16 Added "Thread that displays graphics" and "Thread that handles system messages" to "Do not call from".
2013/05/08 Automated cleanup pass.
2013/01/10 Added "Callback" to "Do not call from".
2012/07/19 Readability and correctness cleanup.
2011/12/05 Initial version.


CONFIDENTIAL