aboutsummaryrefslogtreecommitdiff
path: root/pcap_snapshot.3pcap
diff options
context:
space:
mode:
authorDaniel Miller <dmiller@nmap.org>2018-08-24 23:55:03 -0500
committerDaniel Miller <dmiller@nmap.org>2018-08-24 23:55:03 -0500
commitabf508853752e3a79b8a99bdfeb929b94a490dce (patch)
tree46da4bad2573c967fa515c72a7d4e45fea6c9957 /pcap_snapshot.3pcap
parenta1da610c66cf72e0b66483aabee4687a2d8c166f (diff)
Fix manpage reference formatting to be consistent.
All manpage references such as pcap_create(3PCAP) will now be formatted with the identifier (e.g. "pcap_create") in **bold** and the section name (e.g. "(3PCAP)") in roman (default) face. This is how most manpages seem to be formatted and makes things more consistent.
Diffstat (limited to 'pcap_snapshot.3pcap')
-rw-r--r--pcap_snapshot.3pcap10
1 files changed, 5 insertions, 5 deletions
diff --git a/pcap_snapshot.3pcap b/pcap_snapshot.3pcap
index ee54bb08..e376857f 100644
--- a/pcap_snapshot.3pcap
+++ b/pcap_snapshot.3pcap
@@ -33,20 +33,20 @@ int pcap_snapshot(pcap_t *p);
.SH DESCRIPTION
.B pcap_snapshot()
returns the snapshot length specified when
-.B pcap_set_snaplen(3PCAP)
+.BR pcap_set_snaplen (3PCAP)
or
-.B pcap_open_live(3PCAP)
+.BR pcap_open_live (3PCAP)
was called, for a live capture, or the snapshot length from the capture
file, for a ``savefile''.
.PP
It must not be called on a pcap descriptor created by
-.B \%pcap_create(3PCAP)
+.BR \%pcap_create (3PCAP)
that has not yet been activated by
-.BR \%pcap_activate(3PCAP) .
+.BR \%pcap_activate (3PCAP).
.SH RETURN VALUE
.B pcap_snapshot()
returns the snapshot length on success and
.B PCAP_ERROR_NOT_ACTIVATED
if called on a capture handle that has been created but not activated.
.SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)