pcap_statustostr(3pcap)

pcap_statustostr3pcap

Convert a pcap_error_ or pcap_warning_ value to a string

Usage

#include <pcap/pcap.h>

const char *pcap_statustostr(int error);

Overview

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

Releases

90 releases since Mac OS X 10.6; the text changed 4 times.

  1. 10.6–10.6.8
  2. 10.7–10.11.6
  3. 10.12–10.14.6
  4. 10.15–12.5
  5. 13.0–26.5

From libpcap 146 in macOS 26.5. Parsed by carta from the page's man source.