USER_INIT

Performs enabler-specific initialization tasks. It is called when the enabler starts, and its uses might include setting up shared memory regions, signal handlers and exit handlers.

You can find the template for this subroutine in:

usrtm_init.c

Syntax

void user_init(status)

int *status;

Input Parameters

None

Output Parameters

status

Indicates whether the function successfully obtained all of the requested information. Valid values are:

TOOLKIT_SUCCESS

Function completed successfully.

TOOLKIT_FAILURE

Function did not complete successfully.

Return Value

None.

More information

Device Communications toolkit subroutines.