tcpdump mailing list archives

PCAP_ERROR/PCAP_ERROR_BREAK or -1/-2?


From: Denis Ovsienko <denis () ovsienko info>
Date: Wed, 25 Jul 2018 08:57:47 +0100

Hello list.

Roughly a half of the libpcap man pages text uses the values -1 and -2 to discuss the return value of particular 
libpcap functions, the other half uses PCAP_ERROR and PCAP_ERROR_BREAK.

Is there a good reason to keep it this way instead of using PCAP_ERROR/PCAP_ERROR_BREAK consistently in all man pages?

-- 
    Denis Ovsienko


_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: