DOKK / manpages / debian 12 / libpcap0.8-dev / pcap_lib_version.3pcap.en
PCAP_LIB_VERSION(3PCAP) PCAP_LIB_VERSION(3PCAP)

pcap_lib_version - get the version information for libpcap

#include <pcap/pcap.h>
const char *pcap_lib_version(void);

pcap_lib_version() returns a pointer to a string giving information about the version of the libpcap library being used; note that it contains more information than just a version number.

pcap(3PCAP)

3 January 2014