pcap_strerror(3pcap) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | BACKWARD COMPATIBILITY | SEE ALSO | COLOPHON

PCAP_STRERROR(3PCAP)                                PCAP_STRERROR(3PCAP)

NAME         top

       pcap_strerror - convert an errno value to a string

SYNOPSIS         top

       #include <pcap/pcap.h>

       const char *pcap_strerror(int error);

DESCRIPTION         top

       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         top

       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         top

       pcap(3PCAP)

COLOPHON         top

       This page is part of the libpcap (packet capture library)
       project.  Information about the project can be found at 
       ⟨http://www.tcpdump.org/⟩.  If you have a bug report for this
       manual page, see ⟨http://www.tcpdump.org/#patches⟩.  This page
       was obtained from the project's upstream Git repository
       ⟨https://github.com/the-tcpdump-group/libpcap.git⟩ on 2024-06-14.
       (At that time, the date of the most recent commit that was found
       in the repository was 2024-06-04.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

                              12 March 2024         PCAP_STRERROR(3PCAP)