PCAP_STATUSTOSTR(3PCAP) PCAP_STATUSTOSTR(3PCAP)

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(3PCAP)

3 January 2014