diff options
author | guy <guy> | 2008-04-09 20:20:17 +0000 |
---|---|---|
committer | guy <guy> | 2008-04-09 20:20:17 +0000 |
commit | 1b7a8f1c6eb17bba00c9ff198dca528a10c3b61b (patch) | |
tree | 4f120d6225bc5c4ba7f5061f65b1f29695eb35d0 /pcap_activate.3pcap | |
parent | 216c64a7ceaa12e96df1c45f90c943d2d958a9cc (diff) | |
download | libpcap-1b7a8f1c6eb17bba00c9ff198dca528a10c3b61b.tar.gz |
Document the extra error information supplied for
PCAP_ERROR_NO_SUCH_DEVICE and PCAP_ERROR_PERM_DENIED.
Diffstat (limited to 'pcap_activate.3pcap')
-rw-r--r-- | pcap_activate.3pcap | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pcap_activate.3pcap b/pcap_activate.3pcap index 43bad033..6368a8c1 100644 --- a/pcap_activate.3pcap +++ b/pcap_activate.3pcap @@ -1,4 +1,4 @@ -.\" @(#) $Header: /tcpdump/master/libpcap/pcap_activate.3pcap,v 1.2 2008-04-09 19:58:02 guy Exp $ +.\" @(#) $Header: /tcpdump/master/libpcap/pcap_activate.3pcap,v 1.3 2008-04-09 20:20:17 guy Exp $ .\" .\" Copyright (c) 1994, 1996, 1997 .\" The Regents of the University of California. All rights reserved. @@ -61,5 +61,18 @@ or may be called with .I p as an argument to fetch or display the error text. +If +.B PCAP_ERROR_NO_SUCH_DEVICE +or +.B PCAP_ERROR_PERM_DENIED +is returned, +.B pcap_geterr() +or +.B pcap_perror() +may be called with +.I p +as an argument to fetch or display an error message giving additional +details about the error that might be useful for debugging the error if +it's unexpected. .SH SEE ALSO pcap(3PCAP) |