From 6e79b911ce0057b5b91d0f9cedd766e0163fb043 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Tue, 18 Apr 2000 03:01:33 +0000 Subject: Repairs, mostly removing hard sentence breaks. --- src/lib/libc/net/ethers.3 | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/lib/libc/net/ethers.3') diff --git a/src/lib/libc/net/ethers.3 b/src/lib/libc/net/ethers.3 index 39968f3e65..8c5066a760 100644 --- a/src/lib/libc/net/ethers.3 +++ b/src/lib/libc/net/ethers.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ethers.3,v 1.11 1999/07/05 04:40:59 aaron Exp $ +.\" $OpenBSD: ethers.3,v 1.12 2000/04/18 03:01:31 aaron Exp $ .\" .\" Written by roland@frob.com. Public domain. .\" @@ -41,15 +41,15 @@ function converts this structure into an string of the form .Dq xx:xx:xx:xx:xx:xx , consisting of 6 hexadecimal numbers separated -by colons. It returns a pointer to a static buffer that is reused for -each call. +by colons. +It returns a pointer to a static buffer that is reused for each call. The .Fn ether_aton converts an .Tn ASCII string of the same form and to a structure -containing the 6 octets of the address. It returns a pointer to a -static structure that is reused for each call. +containing the 6 octets of the address. +It returns a pointer to a static structure that is reused for each call. .Pp The .Fn ether_ntohost @@ -61,13 +61,15 @@ addresses, The .Fn ether_ntohost function looks up the given Ethernet address and writes the associated -host name into the character buffer passed. This buffer should be +host name into the character buffer passed. +This buffer should be .Dv MAXHOSTNAMELEN characters in size. The .Fn ether_hostton function looks up the given host name and writes the associated -Ethernet address into the structure passed. Both functions return +Ethernet address into the structure passed. +Both functions return zero if they find the requested host name or address, and \-1 if not. .Pp Each call reads @@ -90,8 +92,8 @@ function parses a line from the .Pa /etc/ethers file and fills in the passed .Li struct ether_addr -and character buffer with the Ethernet address and host name on the line. It -returns zero if the line was successfully parsed and \-1 if not. +and character buffer with the Ethernet address and host name on the line. +It returns zero if the line was successfully parsed and \-1 if not. The character buffer should be .Dv MAXHOSTNAMELEN characters in size. -- cgit v1.2.3-55-g6feb