sbio_create_receive_channel
int sbio_create_receive_channel(
const char *channel_name,
int flags,
sbio_channel_handle_t **handle);
Opens a Storyboard IO channel for receiving events. Note that this creates a secondary thread in the application so that receiving events do not block the main application.
Parameters
| Parameter | Type | Description |
|---|---|---|
channel_name | const char * | The name of the channel to open for receiving. |
flags | int | Additional flags, other than GRE_IO_TYPE_RDONLY, to open the channel with. |
handle | sbio_channel_handle_t ** | A pointer to the storage location for a sbio_channel_handle_t structure used for storing channel information. |
Returns
| Type | Description |
|---|---|
int | 0 on success and non-zero on failure. |