VRRP Library Functions vrrp_strerror(3VRRP) NAME vrrp_strerror - get VRRP error message SYNOPSIS cc [ flag... ] file... -lvrrp [ library... ] #include const char *vrrp_strerror(int err); DESCRIPTION The vrrp_strerror() function maps the error code in err into an error message string and returns a pointer to that string. If err is VRRP_ESYS, a string that describes the current value of errno is returned. Otherwise, if err corresponds to an error code listed in , a string which describes that error is returned. The string is not dynamically allocated and must not be freed by the caller. RETURN VALUES Upon success, the function returns a pointer to the error message string. If the error code is unknown, the string "Unknown VRRP error" is returned. ATTRIBUTES See attributes(5) for description of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Project Private | |_____________________________|_____________________________| | MT-Level | Safe | |_____________________________|_____________________________| SEE ALSO libvrrp(3LIB), attributes(5)