NAME
snmp_errstring - Decode returned SNMP error condition

SYNOPSIS
cc [ flag ... ] file ... -lsnmp [ library ... ]

#include <sys/types.h>
#include <snmp/snmp.h>

char *snmp_errstring(int errstat);

DESCRIPTION
This function returns a textual description of the error condition in the PDU returned by the queried SNMP agent.

RETURN VALUE
A string containing the error message.

NOTES
The error message is stored in the data segment of the library. Do not attempt to free()
 it.