pips_provider_get_participant_name()

Updated: April 19, 2023

Get the participant name associated with the provider

Synopsis:

#include <pips/pips.h>
const char* pips_provider_get_participant_name(const pips_provider_t *provider)

Arguments:

provider
The provider instance whose participant name is being retrieved

Library:

pips-client

Description:

This function retrieves the participant name that was assigned to the provider in the current process space when it was first initialized.

Returns:

On success, a pointer to an immutable string containing the participant name of the current provider as defined in the current process space. The name of the participant may be different for different processes even if the underlying provider is the same. On error, NULL (errno is set).

Errors:

  • ENODEV: The provider is invalid.