diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-10-12 10:12:55 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-10-12 10:12:55 -0700 |
commit | 55aa0b518107f6ebd18bfea758aa9d1ccd8201b6 (patch) | |
tree | 1fc4d62f52018b8f45cd169ac82c9bc1c415cb34 /pcap_datalink_name_to_val.3pcap | |
parent | e4d156e4966aff29a8ddb66b05f62c3fcc717be8 (diff) |
Clarify what the return values are for both success and failure.
Diffstat (limited to 'pcap_datalink_name_to_val.3pcap')
-rw-r--r-- | pcap_datalink_name_to_val.3pcap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap_datalink_name_to_val.3pcap b/pcap_datalink_name_to_val.3pcap index 8c761443..8a6905a2 100644 --- a/pcap_datalink_name_to_val.3pcap +++ b/pcap_datalink_name_to_val.3pcap @@ -41,6 +41,7 @@ removed, to the corresponding link-layer header type value. The translation is case-insensitive. .SH RETURN VALUE .B pcap_datalink_name_to_val() -returns type value on success and \-1 on failure. +returns the type value on success and \-1 if the name is not a known +type name.. .SH SEE ALSO pcap(3PCAP) |