PCAP_STATUSTOSTR(3) Library Functions Manual PCAP_STATUSTOSTR(3)

pcap_statustostr - convert a PCAP_ERROR_ or PCAP_WARNING_ value to a string

#include <pcap/pcap.h>

const char *pcap_statustostr(int error);

pcap_statustostr() converts a PCAP_ERROR_ or PCAP_WARNING_ value returned by a libpcap routine to an error string.

pcap(3)
3 January 2014