diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2018-07-25 16:32:12 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2018-07-25 16:32:49 +0000 |
commit | 6e15abcfff9504c9c26c249db56179c4c26c1b16 (patch) | |
tree | 4d31617d075291e961a4f26ba01797698421e5e9 /pcap_inject.3pcap | |
parent | f19ee14e460e63143c2ba4e4442b7226c769f79c (diff) |
Spell PCAP_ERROR and PCAP_ERROR_BREAK in the man pages.
[skip ci]
Diffstat (limited to 'pcap_inject.3pcap')
-rw-r--r-- | pcap_inject.3pcap | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pcap_inject.3pcap b/pcap_inject.3pcap index 821f4211..92a92638 100644 --- a/pcap_inject.3pcap +++ b/pcap_inject.3pcap @@ -17,7 +17,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_INJECT 3PCAP "3 January 2014" +.TH PCAP_INJECT 3PCAP "25 July 2018" .SH NAME pcap_inject, pcap_sendpacket \- transmit a packet .SH SYNOPSIS @@ -72,12 +72,18 @@ comes from OpenBSD; comes from WinPcap. Both are provided for compatibility.) .SH RETURN VALUE .B pcap_inject() -returns the number of bytes written on success and \-1 on failure. +returns the number of bytes written on success and +.B PCAP_ERROR +on failure. .PP .B pcap_sendpacket() -returns 0 on success and \-1 on failure. +returns 0 on success and +.B PCAP_ERROR +on failure. .PP -If \-1 is returned, +If +.B PCAP_ERROR +is returned, .B pcap_geterr(3PCAP) or .B pcap_perror(3PCAP) |