summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ethers.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 12:45:11 +0000
committerru <ru@FreeBSD.org>2002-12-18 12:45:11 +0000
commit8746d263e1451855025dc83dde5176cc9f1fbe3f (patch)
treeee7f7ba4650cadf44410ca9a44676c72c96739b7 /lib/libc/net/ethers.3
parent160081aef68b0dc49b79d3b7702b75671d9c06ff (diff)
downloadFreeBSD-src-8746d263e1451855025dc83dde5176cc9f1fbe3f.zip
FreeBSD-src-8746d263e1451855025dc83dde5176cc9f1fbe3f.tar.gz
mdoc(7) police: "The .Fn function".
Diffstat (limited to 'lib/libc/net/ethers.3')
-rw-r--r--lib/libc/net/ethers.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 40b5c7d..bfa5955 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -116,12 +116,16 @@ functions map ethernet addresses to their corresponding hostnames
as specified in the
.Pa /etc/ethers
database.
+The
.Fn ether_ntohost
+function
converts from ethernet address to hostname, and
.Fn ether_hostton
converts from hostname to ethernet address.
.Sh RETURN VALUES
+The
.Fn ether_line
+function
returns zero on success and non-zero if it was unable to parse
any part of the supplied line
.Ar l .
OpenPOWER on IntegriCloud