pcap_strerror — Npcap API
Name
pcap_strerror - convert an errno value to a string
Synopsis
#include <pcap/pcap.h> const char *pcap_strerror(int error);
Description
This function returns an error message string corresponding to error. It uses either strerror(3) or its thread-safe variant if one is available, which currently is the case in every supported OS.
Backward compatibility
This function was not thread-safe in libpcap before 1.8.1 on Windows and in libpcap before 1.10.5 on all other OSes.
See also
pcap(3PCAP)
This HTML page was made with roffit.
