manpagez: man pages & more
man pcap_statustostr(3)
Home | html | info | man
pcap_statustostr(3)                                pcap_statustostr(3)


NAME

       pcap_statustostr - convert a PCAP_ERROR_ or PCAP_WARNING_ value to a
       string


SYNOPSIS

       #include <pcap/pcap.h>

       pcap_statustostr(3) error);


DESCRIPTION

       pcap_statustostr() converts a PCAP_ERROR_ or PCAP_WARNING_ value
       returned by a libpcap routine to an error or warning string.


RETURN VALUE

       The function never returns a null pointer; if the error argument is not
       a known error or warning value, it returns a generic message that shows
       the numeric value of the argument.


SEE ALSO

       pcap(3)

                               6 September 2026        pcap_statustostr(3)

libpcap 1.11.0 - Generated Tue Sep 15 09:20:11 CDT 2026
© manpagez.com 2000-2026
Individual documents may contain additional copyright information.