diff options
author | aaron <> | 1999-07-05 04:41:00 +0000 |
---|---|---|
committer | aaron <> | 1999-07-05 04:41:00 +0000 |
commit | c47037b066169c61c5eefad3368f2da73ca4be54 (patch) | |
tree | fa80157fecd0fbb57811f82d8f3ce1366b44a203 /src/lib/libc/net/link_addr.3 | |
parent | 5f78a44df1a8e524a82445f2fedb382128869a2a (diff) | |
download | openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.tar.gz openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.tar.bz2 openbsd-c47037b066169c61c5eefad3368f2da73ca4be54.zip |
repairs; better English, formatting, etc.
Diffstat (limited to 'src/lib/libc/net/link_addr.3')
-rw-r--r-- | src/lib/libc/net/link_addr.3 | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/lib/libc/net/link_addr.3 b/src/lib/libc/net/link_addr.3 index c96e24f441..b7ada81997 100644 --- a/src/lib/libc/net/link_addr.3 +++ b/src/lib/libc/net/link_addr.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: link_addr.3,v 1.5 1999/05/23 14:11:02 aaron Exp $ | 1 | .\" $OpenBSD: link_addr.3,v 1.6 1999/07/05 04:40:59 aaron Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1993 | 3 | .\" Copyright (c) 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -50,12 +50,11 @@ | |||
50 | .Ft char * | 50 | .Ft char * |
51 | .Fn link_ntoa "const struct sockaddr_dl *sdl" | 51 | .Fn link_ntoa "const struct sockaddr_dl *sdl" |
52 | .Sh DESCRIPTION | 52 | .Sh DESCRIPTION |
53 | The routine | 53 | The |
54 | .Fn link_addr | 54 | .Fn link_addr |
55 | interprets character strings representing | 55 | function interprets character strings representing |
56 | link-level addresses, returning binary information suitable | 56 | link-level addresses, returning binary information suitable |
57 | for use in system calls. | 57 | for use in system calls. |
58 | The routine | ||
59 | .Fn link_ntoa | 58 | .Fn link_ntoa |
60 | takes | 59 | takes |
61 | a link-level | 60 | a link-level |
@@ -73,7 +72,7 @@ the string | |||
73 | .Fa addr | 72 | .Fa addr |
74 | may contain | 73 | may contain |
75 | an optional network interface identifier of the form | 74 | an optional network interface identifier of the form |
76 | .Dq "name unit-number" , | 75 | .Dq name unit-number , |
77 | suitable for the first argument to | 76 | suitable for the first argument to |
78 | .Xr ifconfig 8 , | 77 | .Xr ifconfig 8 , |
79 | followed in all cases by a colon and | 78 | followed in all cases by a colon and |
@@ -95,7 +94,7 @@ represents an Ethernet address | |||
95 | to be transmitted on the first Lance Ethernet interface. | 94 | to be transmitted on the first Lance Ethernet interface. |
96 | .Sh RETURN VALUES | 95 | .Sh RETURN VALUES |
97 | .Fn link_ntoa | 96 | .Fn link_ntoa |
98 | always returns a null terminated string. | 97 | always returns a null-terminated string. |
99 | .Fn link_addr | 98 | .Fn link_addr |
100 | has no return value. | 99 | has no return value. |
101 | (See | 100 | (See |
@@ -108,7 +107,7 @@ The | |||
108 | .Fn link_addr | 107 | .Fn link_addr |
109 | and | 108 | and |
110 | .Fn link_ntoa | 109 | .Fn link_ntoa |
111 | functions appeared in | 110 | functions appeared in |
112 | .Bx 4.3 Reno . | 111 | .Bx 4.3 Reno . |
113 | .Sh BUGS | 112 | .Sh BUGS |
114 | The returned values for link_ntoa | 113 | The returned values for link_ntoa |
@@ -120,7 +119,7 @@ should diagnose improperly formed input, and there should be an unambiguous | |||
120 | way to recognize this. | 119 | way to recognize this. |
121 | .Pp | 120 | .Pp |
122 | If the | 121 | If the |
123 | .Va sdl_len | 122 | .Fa sdl_len |
124 | field of the link socket address | 123 | field of the link socket address |
125 | .Fa sdl | 124 | .Fa sdl |
126 | is 0, | 125 | is 0, |