From 48fbe321170f30de3e0c2aed5927aff9b0893a66 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 23 Nov 2019 20:56:35 -0800 Subject: Style cleanup. Use the BSD house style, in which, in foobar() returns 17 on success and 137 on failure. "foobar" is boldfaced but "()" isn't. --- pcap_dump_open.3pcap.in | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'pcap_dump_open.3pcap.in') diff --git a/pcap_dump_open.3pcap.in b/pcap_dump_open.3pcap.in index efb0549d..03e75a17 100644 --- a/pcap_dump_open.3pcap.in +++ b/pcap_dump_open.3pcap.in @@ -19,7 +19,8 @@ .\" .TH PCAP_DUMP_OPEN 3PCAP "22 August 2018" .SH NAME -pcap_dump_open, pcap_dump_fopen \- open a file to which to write packets +pcap_dump_open, pcap_dump_open_append, pcap_dump_fopen \- open a file to +which to write packets .SH SYNOPSIS .nf .ft B @@ -34,7 +35,7 @@ pcap_dumper_t *pcap_dump_fopen(pcap_t *p, FILE *fp); .ft .fi .SH DESCRIPTION -.B pcap_dump_open() +.BR pcap_dump_open () is called to open a ``savefile'' for writing. .I fname specifies the name of the file to open. The file will have @@ -46,7 +47,7 @@ The name "-" is a synonym for .BR stdout . .PP -.B pcap_dump_fopen() +.BR pcap_dump_fopen () is called to write data to an existing open stream .IR fp ; this stream will be closed by a subsequent call to @@ -67,9 +68,9 @@ The time stamp precision, link-layer type, and snapshot length from .I p are used as the link-layer type and snapshot length of the output file. .PP -.B pcap_dump_open_append() +.BR pcap_dump_open_append () is like -.B pcap_dump_open() +.BR 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 @@ -94,7 +95,7 @@ can be used to get the error text. .SH BACKWARD COMPATIBILITY .PP The -.B pcap_dump_open_append() +.BR pcap_dump_open_append () function became available in libpcap release 1.7.2. In previous releases, there is no support for appending packets to an existing savefile. -- cgit v1.2.3