Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PCAP_STRERROR(3PCAP)					  PCAP_STRERROR(3PCAP)

NAME
       pcap_strerror - convert an errno	value to a string

SYNOPSIS
       #include	<pcap/pcap.h>

       const char *pcap_strerror(int error);

DESCRIPTION
       This  function  returns an error	message	string corresponding to	error.
       It uses either strerror(3) or its thread-safe variant if	one is	avail-
       able, which currently is	the case in every supported OS.

BACKWARD COMPATIBILITY
       This  function  was  not	thread-safe in libpcap before 1.8.1 on Windows
       and in libpcap before 1.10.5 on all other OSes.

SEE ALSO
       pcap(3PCAP)

				26 August 2024		  PCAP_STRERROR(3PCAP)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pcap_strerror&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help