]> The Tcpdump Group git mirrors - libpcap/commitdiff
Make more small fixups to the man pages.
authorDenis Ovsienko <[email protected]>
Thu, 19 Jul 2018 09:01:33 +0000 (09:01 +0000)
committerDenis Ovsienko <[email protected]>
Thu, 19 Jul 2018 09:02:14 +0000 (09:02 +0000)
Among other things make sure a reference to pcap(3PCAP) is in the
SEE ALSO section of every man page by default.

[skip ci]

pcap-linktype.manmisc.in
pcap-savefile.manfile.in
pcap-tstamp.manmisc.in
pcap_datalink_val_to_name.3pcap
pcap_dump_open.3pcap.in
pcap_file.3pcap
pcap_open_live.3pcap
pcap_strerror.3pcap

index 68919a78881fcc42aed54864507338bdd7b7ad9e..777e9dc73d7da94e02aaa0ea1664bf8b9b673007 100644 (file)
@@ -45,4 +45,4 @@ The names for those values begin with
 The link-layer header types supported by libpcap are described at
 https://www.tcpdump.org/linktypes.html.
 .SH SEE ALSO
-pcap_datalink(3PCAP)
+pcap(3PCAP)
index 451dd90b7e2f88f486548c35905adbbbf4e5b0e3..748d7afcfc557f05c7d738f803c7a327cd82fcff 100644 (file)
@@ -130,4 +130,4 @@ the packet not been truncated by the snapshot length.  The two lengths
 will be equal if the number of bytes of packet data are less than or
 equal to the snapshot length.
 .SH SEE ALSO
-pcap(3PCAP), pcap-linktype(@MAN_MISC_INFO@)
+pcap(3PCAP)
index 12405c83bffc01b596764d9585ef76433ea51ec4..6437e80e64e76a2f6f1afe429050a70eea9b28b3 100644 (file)
@@ -164,3 +164,5 @@ when capturing packets, this does not reflect the actual precision of
 the time stamp supplied by the hardware or operating system and, when
 reading a savefile, this does not indicate the actual precision of time
 stamps in the file.
+.SH SEE ALSO
+pcap(3PCAP)
index fad350fd0adcfc802ea8b81b724322b4fb860186..efdbfc63484c844c717103515f37dfdf72156ce8 100644 (file)
@@ -52,3 +52,5 @@ link-layer header type.
 is returned if the type value does not correspond to a known
 .B DLT_
 value.
+.SH SEE ALSO
+pcap(3PCAP)
index 10e6879e197fc920c2820fd31019395db0b9af54..21b4de5ca0378070fd308b7a6c0bab013252e00f 100644 (file)
@@ -69,7 +69,7 @@ are used as the link-layer type and snapshot length of the output file.
 .PP
 .B pcap_dump_open_append()
 is like
-.B pcap_dump_open
+.B pcap_dump_open()
 but does not create the file if it does not exist and, if it does
 already exist, and is a pcap file with the same byte order as the host
 opening the file, and has the same time stamp precision, link-layer
index 584b5288095e395a365915ed99c79822c0b9fdd5..981451ba5684e6dc75121f46448ba46f5f98cd76 100644 (file)
@@ -35,7 +35,9 @@ FILE *pcap_file(pcap_t *p);
 returns the standard I/O stream of the ``savefile,'' if a ``savefile''
 was opened with
 .BR pcap_open_offline(3PCAP) ,
-or NULL, if a network device was opened with
+or
+.BR NULL ,
+if a network device was opened with
 .B pcap_create(3PCAP)
 and
 .BR \%pcap_activate(3PCAP) ,
index 942d4fc3d02171b79f5c6aad5bfaefbd3df4283d..3286e294c425d4946824f3430782b10e8457f7d9 100644 (file)
@@ -87,4 +87,4 @@ is assumed to be able to hold at least
 .B PCAP_ERRBUF_SIZE
 chars.
 .SH SEE ALSO
-pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP)
+pcap_create(3PCAP), pcap_activate(3PCAP)
index ae2216e72d79b910934b8eb3c9eed73a8122f03d..a5775f4229a5ed8f06bc96900f88720a9b2ec382 100644 (file)
@@ -36,3 +36,5 @@ is provided in case
 .BR strerror (3)
 isn't available.  It returns an error message string corresponding to
 .IR error .
+.SH SEE ALSO
+pcap(3PCAP)