diff options
author | aaron <> | 2000-04-18 03:01:33 +0000 |
---|---|---|
committer | aaron <> | 2000-04-18 03:01:33 +0000 |
commit | 6e79b911ce0057b5b91d0f9cedd766e0163fb043 (patch) | |
tree | 9478c878ca3f3846100f116eeb1bed16f321f335 /src/lib/libc/net/ethers.3 | |
parent | 59ca3f5f8991ab72904434fb49ef0999d64ae2e8 (diff) | |
download | openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.tar.gz openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.tar.bz2 openbsd-6e79b911ce0057b5b91d0f9cedd766e0163fb043.zip |
Repairs, mostly removing hard sentence breaks.
Diffstat (limited to 'src/lib/libc/net/ethers.3')
-rw-r--r-- | src/lib/libc/net/ethers.3 | 20 |
1 files changed, 11 insertions, 9 deletions
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 @@ | |||
1 | .\" $OpenBSD: ethers.3,v 1.11 1999/07/05 04:40:59 aaron Exp $ | 1 | .\" $OpenBSD: ethers.3,v 1.12 2000/04/18 03:01:31 aaron Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Written by roland@frob.com. Public domain. | 3 | .\" Written by roland@frob.com. Public domain. |
4 | .\" | 4 | .\" |
@@ -41,15 +41,15 @@ function converts this structure into an | |||
41 | string of the form | 41 | string of the form |
42 | .Dq xx:xx:xx:xx:xx:xx , | 42 | .Dq xx:xx:xx:xx:xx:xx , |
43 | consisting of 6 hexadecimal numbers separated | 43 | consisting of 6 hexadecimal numbers separated |
44 | by colons. It returns a pointer to a static buffer that is reused for | 44 | by colons. |
45 | each call. | 45 | It returns a pointer to a static buffer that is reused for each call. |
46 | The | 46 | The |
47 | .Fn ether_aton | 47 | .Fn ether_aton |
48 | converts an | 48 | converts an |
49 | .Tn ASCII | 49 | .Tn ASCII |
50 | string of the same form and to a structure | 50 | string of the same form and to a structure |
51 | containing the 6 octets of the address. It returns a pointer to a | 51 | containing the 6 octets of the address. |
52 | static structure that is reused for each call. | 52 | It returns a pointer to a static structure that is reused for each call. |
53 | .Pp | 53 | .Pp |
54 | The | 54 | The |
55 | .Fn ether_ntohost | 55 | .Fn ether_ntohost |
@@ -61,13 +61,15 @@ addresses, | |||
61 | The | 61 | The |
62 | .Fn ether_ntohost | 62 | .Fn ether_ntohost |
63 | function looks up the given Ethernet address and writes the associated | 63 | function looks up the given Ethernet address and writes the associated |
64 | host name into the character buffer passed. This buffer should be | 64 | host name into the character buffer passed. |
65 | This buffer should be | ||
65 | .Dv MAXHOSTNAMELEN | 66 | .Dv MAXHOSTNAMELEN |
66 | characters in size. | 67 | characters in size. |
67 | The | 68 | The |
68 | .Fn ether_hostton | 69 | .Fn ether_hostton |
69 | function looks up the given host name and writes the associated | 70 | function looks up the given host name and writes the associated |
70 | Ethernet address into the structure passed. Both functions return | 71 | Ethernet address into the structure passed. |
72 | Both functions return | ||
71 | zero if they find the requested host name or address, and \-1 if not. | 73 | zero if they find the requested host name or address, and \-1 if not. |
72 | .Pp | 74 | .Pp |
73 | Each call reads | 75 | Each call reads |
@@ -90,8 +92,8 @@ function parses a line from the | |||
90 | .Pa /etc/ethers | 92 | .Pa /etc/ethers |
91 | file and fills in the passed | 93 | file and fills in the passed |
92 | .Li struct ether_addr | 94 | .Li struct ether_addr |
93 | and character buffer with the Ethernet address and host name on the line. It | 95 | and character buffer with the Ethernet address and host name on the line. |
94 | returns zero if the line was successfully parsed and \-1 if not. | 96 | It returns zero if the line was successfully parsed and \-1 if not. |
95 | The character buffer should be | 97 | The character buffer should be |
96 | .Dv MAXHOSTNAMELEN | 98 | .Dv MAXHOSTNAMELEN |
97 | characters in size. | 99 | characters in size. |