logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

pcap_strerror - convert an errno value to a string

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.

Description

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

Name

pcap_strerror - convert an errno value to a string

See Also

pcap(3PCAP) 26 August 2024 PCAP_STRERROR(3PCAP)

Synopsis

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

See Also