SIP_GUID(3SIP) Session Initiation Protocol Library Functions SIP_GUID(3SIP)

sip_guid - generate a random string

cc [ flag ... ] file ... -lsip [ library ... ]
#include <sip.h>
char *sip_guid();

The sip_guid() function can be used to generate a random string. The caller is responsible for freeing the returned string.

The sip_guid() function returns a string on success and NULL on failure.

The value of errno is not changed by these calls in the event of an error.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe

libsip(3LIB)

January 25, 2007 OmniOS