DOKK / manpages / debian 11 / libpcap0.8-dev / pcap_statustostr.3pcap.en
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