tail head cat sleep
QR code linking to this page

Manual Pages  — PCAP_STRERROR

NAME

pcap_strerror - convert an errno value to a string

CONTENTS

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 available, 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(3)

26 August 2024 PCAP_STRERROR (3)

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.
— Maurice Wilkes