diff options
Diffstat (limited to 'lib/libc/net/ethers.3')
-rw-r--r-- | lib/libc/net/ethers.3 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3 index 41376c9..72b7488 100644 --- a/lib/libc/net/ethers.3 +++ b/lib/libc/net/ethers.3 @@ -86,7 +86,8 @@ format and sets .Ar e to the ethernet address specified in the string and .Ar h -to the hostname. This function is used to parse lines from +to the hostname. +This function is used to parse lines from .Pa /etc/ethers into their component parts. .Pp @@ -96,7 +97,8 @@ function converts an .Tn ASCII representation of an ethernet address into an .Ar ether_addr -structure. Likewise, +structure. +Likewise, .Fn ether_ntoa converts an ethernet address specified as an .Ar ether_addr @@ -132,12 +134,14 @@ On success, .Fn ether_ntoa returns a pointer to a string containing an .Tn ASCII -representation of an ethernet address. If it is unable to convert +representation of an ethernet address. +If it is unable to convert the supplied .Ar ether_addr structure, it returns a .Dv NULL -pointer. Likewise, +pointer. +Likewise, .Fn ether_aton returns a pointer to an .Ar ether_addr |