pips_delete_group_member()

Updated: April 19, 2023

Delete a group member

Synopsis:

#include <pips/publication.h>
int pips_delete_group_member(pips_group_member_t *const member_hdl)

Arguments:

member_hdl
A handle to the member to delete

Library:

pips-client

Description:

This function removes the member associated with the given handle from its group, then deletes that member's data.

Postrequisites

The handle must not be re-used if the function succeeds; it will be invalid.

Returns:

0
The member was successfully deleted
-1
An error occurred (errno is set)

Errors:

  • EINVAL: The handle is invalid.
  • ENOENT: The member associated with the given handle does not belong to a group.