PCAP_STRERROR(3) Library Functions Manual PCAP_STRERROR(3)

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.

strerror(3)
3 January 2014