pips_guid_is_defined()

Updated: October 26, 2022

Assert whether a GUID is defined

Synopsis:

#include <pips/pips.h>
int pips_guid_is_defined(const pips_guid_t *const guid)

Arguments:

guid
A pointer to the GUID to verify

Library:

pips-client

Description:

This function asserts whether the given GUID is defined. A GUID is defined if it's not set to zero, meaning at least one of its bytes is nonzero.

Returns:

0
The GUID is not defined
<>0
The GUID is defined