PCAP_STRERROR(3PCAP) Package Capture Library Functions PCAP_STRERROR(3PCAP)

pcap_strerror - convert an errno value to a string

#include <pcap/pcap.h>

const char *pcap_strerror(int error);

pcap_strerror() is provided in case strerror(3) isn't available. It returns an error message string corresponding to error.

pcap(3PCAP)
3 January 2014 OmniOS