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/ns.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/ns.3')
-rw-r--r-- | src/lib/libc/net/ns.3 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libc/net/ns.3 b/src/lib/libc/net/ns.3 index ee49237a24..24e69c8388 100644 --- a/src/lib/libc/net/ns.3 +++ b/src/lib/libc/net/ns.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ns.3,v 1.4 1999/05/23 14:11:02 aaron Exp $ | 1 | .\" $OpenBSD: ns.3,v 1.5 1999/07/05 04:41:00 aaron Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1986, 1991, 1993 | 3 | .\" Copyright (c) 1986, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -43,7 +43,7 @@ address conversion routines | |||
43 | .Sh SYNOPSIS | 43 | .Sh SYNOPSIS |
44 | .Fd #include <sys/types.h> | 44 | .Fd #include <sys/types.h> |
45 | .Fd #include <netns/ns.h> | 45 | .Fd #include <netns/ns.h> |
46 | .Ft struct ns_addr | 46 | .Ft struct ns_addr |
47 | .Fn ns_addr "char *cp" | 47 | .Fn ns_addr "char *cp" |
48 | .Ft char * | 48 | .Ft char * |
49 | .Fn ns_ntoa "struct ns_addr ns" | 49 | .Fn ns_ntoa "struct ns_addr ns" |
@@ -67,11 +67,11 @@ notation in common use in the Xerox Development Environment: | |||
67 | .Ed | 67 | .Ed |
68 | .Pp | 68 | .Pp |
69 | Trailing zero fields are suppressed, and each number is printed in hexadecimal, | 69 | Trailing zero fields are suppressed, and each number is printed in hexadecimal, |
70 | in a format suitable for input to | 70 | in a format suitable for input to |
71 | .Fn ns_addr . | 71 | .Fn ns_addr . |
72 | Any fields lacking super-decimal digits will have a | 72 | Any fields lacking super-decimal digits will have a |
73 | trailing | 73 | trailing |
74 | .Ql H | 74 | .Sq H |
75 | appended. | 75 | appended. |
76 | .Pp | 76 | .Pp |
77 | Unfortunately, no universal standard exists for representing | 77 | Unfortunately, no universal standard exists for representing |
@@ -83,11 +83,11 @@ be compatible with most formats in common use. | |||
83 | It will first separate an address into 1 to 3 fields using a single delimiter | 83 | It will first separate an address into 1 to 3 fields using a single delimiter |
84 | chosen from | 84 | chosen from |
85 | period | 85 | period |
86 | .Ql \&. , | 86 | .Pq Ql \&. , |
87 | colon | 87 | colon |
88 | .Ql \&: | 88 | .Pq Ql \&: , |
89 | or pound-sign | 89 | or pound-sign |
90 | .Ql \&# . | 90 | .Ql # . |
91 | Each field is then examined for byte separators (colon or period). | 91 | Each field is then examined for byte separators (colon or period). |
92 | If there are byte separators, each subfield separated is taken to be | 92 | If there are byte separators, each subfield separated is taken to be |
93 | a small hexadecimal number, and the entirety is taken as a network-byte-ordered | 93 | a small hexadecimal number, and the entirety is taken as a network-byte-ordered |
@@ -101,7 +101,7 @@ as hexadecimal if there is a leading | |||
101 | .Ql 0x | 101 | .Ql 0x |
102 | (as in C), | 102 | (as in C), |
103 | a trailing | 103 | a trailing |
104 | .Ql H | 104 | .Sq H |
105 | (as in Mesa), or there are any super-decimal digits present. | 105 | (as in Mesa), or there are any super-decimal digits present. |
106 | It is interpreted as octal is there is a leading | 106 | It is interpreted as octal is there is a leading |
107 | .Ql 0 | 107 | .Ql 0 |
@@ -118,7 +118,7 @@ The | |||
118 | .Fn ns_addr | 118 | .Fn ns_addr |
119 | and | 119 | and |
120 | .Fn ns_toa | 120 | .Fn ns_toa |
121 | functions appeared in | 121 | functions appeared in |
122 | .Bx 4.3 . | 122 | .Bx 4.3 . |
123 | .Sh BUGS | 123 | .Sh BUGS |
124 | The string returned by | 124 | The string returned by |