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

sip_get_resp_desc - return the response phrase

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

The sip_get_resp_desc() function returns the response phrase for the given response code in resp_code. The response code is not one that is listed in RFC 3261 (Section 21). The returned string is "UNKNOWN".

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