PCAP_STATUSTOSTR

Section: Misc. Reference Manual Pages (3PCAP)
Updated: 9 April 2008
Index Return to Main Contents
 

NAME

pcap_statustostr - convert a PCAP_ERROR_ or PCAP_WARNING_ value to a string  

SYNOPSIS

#include <pcap/pcap.h>

const char *pcap_statustostr(int error);
 

DESCRIPTION

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

SEE ALSO

pcap(3PCAP)