man pages section 3: Networking Library Functions

Exit Print View

Updated: July 2014
 
 

sip_get_resp_desc(3SIP)

Name

sip_get_resp_desc - return the response phrase

Synopsis

cc [ flag ... ] file ... –lsip [ library ... ]
#include <sip.h>

char *sip_get_resp_desc(int *resp_code);

Description

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”.

Return Values

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

Attributes

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

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

See also

libsip(3LIB)