mmr_connect()

Connect to mm-renderer

Synopsis:

#include <mm/renderer.h>
mmr_connection_t* mmr_connect(const char *name)

Arguments:

name
The name of the device path for mm-renderer to use. Set this to NULL to use the default path.

Library:

mmrndclient

Description:

Connect to the mm-renderer service through the specified device path. If the connection succeeds, this function returns a new connection handle, which you can use in subsequent API calls to refer to this active connection.

Returns:

A connection handle on success, or NULL on failure (errno is set)