Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

pcap_statustostr - convert a PCAP_ERROR_ or PCAP_WARNING_ value to a string

Description

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

Name

pcap_statustostr - convert a PCAP_ERROR_ or PCAP_WARNING_ value to a string

See Also

pcap(3PCAP) 3 January 2014 PCAP_STATUSTOSTR(3PCAP)

Synopsis

#include<pcap/pcap.h>constchar*pcap_statustostr(interror);

See Also