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 to use. The provided string must match the settings of the running mm-renderer instance (for details, see the documentation on the mm-renderer command line). Set this to NULL to use the default path.
Library:
mmrndclientDescription:
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)
Page updated:
