+----------------------------------------------------------------------------+ | | | This man page documents libpcap version 1.11.0-PRE-GIT. | | | | Your system may have a different version installed, possibly with some | | local modifications. To achieve the best results, please make sure this | | version of this man page suits your needs. If necessary, try to look for | | a different version on this web site or in the man pages available in your | | installation. | | | +----------------------------------------------------------------------------+ PCAP_STRERROR(3PCAP) PCAP_STRERROR(3PCAP) NAME pcap_strerror - convert an errno value to a string SYNOPSIS #include 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 avail- able, 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.11.0 on all other OSes. SEE ALSO pcap(3PCAP) 12 March 2024 PCAP_STRERROR(3PCAP)