diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-11-23 20:56:35 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-11-23 20:56:35 -0800 |
commit | 48fbe321170f30de3e0c2aed5927aff9b0893a66 (patch) | |
tree | ca007998219e42ea1660767ff19ebd7c57d9adbb /pcap_datalink.3pcap.in | |
parent | b262e73dfdda6599b3b08750fcd6ff2a6a5a16c0 (diff) |
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.
Diffstat (limited to 'pcap_datalink.3pcap.in')
-rw-r--r-- | pcap_datalink.3pcap.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap_datalink.3pcap.in b/pcap_datalink.3pcap.in index d7077ff2..ee34cafa 100644 --- a/pcap_datalink.3pcap.in +++ b/pcap_datalink.3pcap.in @@ -31,7 +31,7 @@ int pcap_datalink(pcap_t *p); .ft .fi .SH DESCRIPTION -.B pcap_datalink() +.BR pcap_datalink () returns the link-layer header type for the live capture or ``savefile'' specified by .IR p . @@ -43,7 +43,7 @@ that has not yet been activated by .PP .I https://www.tcpdump.org/linktypes.html lists the values -.B pcap_datalink() +.BR pcap_datalink () can return and describes the packet formats that correspond to those values. .PP @@ -60,7 +60,7 @@ have some other data link type, such as .B DLT_EN10MB for Ethernet. .SH RETURN VALUE -.B pcap_datalink() +.BR pcap_datalink () returns the link-layer header type on success and .B PCAP_ERROR_NOT_ACTIVATED if called on a capture handle that has been created but not activated. |