diff options
author | jaredy <> | 2005-07-22 04:50:51 +0000 |
---|---|---|
committer | jaredy <> | 2005-07-22 04:50:51 +0000 |
commit | 3553ae132550867ea92f1c819130713a94c9aa57 (patch) | |
tree | 0fcccaffb7fe67c8d9c1f46e9831c994ceadc81a /src/lib/libc/net/inet.3 | |
parent | fca3e187a867f51bfd0b46cc4d3f49175ffddef6 (diff) | |
download | openbsd-3553ae132550867ea92f1c819130713a94c9aa57.tar.gz openbsd-3553ae132550867ea92f1c819130713a94c9aa57.tar.bz2 openbsd-3553ae132550867ea92f1c819130713a94c9aa57.zip |
- sync prototypes and header file excerpts
- typos/spelling, punctuation, rewording, macro, and layout fixes.
help & ok jmc
Diffstat (limited to 'src/lib/libc/net/inet.3')
-rw-r--r-- | src/lib/libc/net/inet.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libc/net/inet.3 b/src/lib/libc/net/inet.3 index 43cb5bafd7..f22e4b7d6f 100644 --- a/src/lib/libc/net/inet.3 +++ b/src/lib/libc/net/inet.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: inet.3,v 1.18 2003/09/09 12:00:39 jmc Exp $ | 1 | .\" $OpenBSD: inet.3,v 1.19 2005/07/22 04:50:51 jaredy Exp $ |
2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ | 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1983, 1990, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
@@ -70,7 +70,7 @@ | |||
70 | .Sh DESCRIPTION | 70 | .Sh DESCRIPTION |
71 | The routines | 71 | The routines |
72 | .Fn inet_aton , | 72 | .Fn inet_aton , |
73 | .Fn inet_addr | 73 | .Fn inet_addr , |
74 | and | 74 | and |
75 | .Fn inet_network | 75 | .Fn inet_network |
76 | interpret character strings representing | 76 | interpret character strings representing |
@@ -83,8 +83,8 @@ function converts a presentation format address (that is, printable form | |||
83 | as held in a character string) to network format (usually a | 83 | as held in a character string) to network format (usually a |
84 | .Li struct in_addr | 84 | .Li struct in_addr |
85 | or some other internal binary representation, in network byte order). | 85 | or some other internal binary representation, in network byte order). |
86 | It returns 1 if the address was valid for the specified address family, or | 86 | It returns 1 if the address was valid for the specified address family; |
87 | 0 if the address wasn't parseable in the specified address family, or \-1 | 87 | 0 if the address wasn't parseable in the specified address family; or \-1 |
88 | if some system error occurred (in which case | 88 | if some system error occurred (in which case |
89 | .Va errno | 89 | .Va errno |
90 | will have been set). | 90 | will have been set). |
@@ -192,7 +192,7 @@ in a | |||
192 | notation | 192 | notation |
193 | may be decimal, octal, or hexadecimal, as specified | 193 | may be decimal, octal, or hexadecimal, as specified |
194 | in the C language (i.e., a leading 0x or 0X implies | 194 | in the C language (i.e., a leading 0x or 0X implies |
195 | hexadecimal; otherwise, a leading 0 implies octal; | 195 | hexadecimal; a leading 0 implies octal; |
196 | otherwise, the number is interpreted as decimal). | 196 | otherwise, the number is interpreted as decimal). |
197 | .Sh INTERNET ADDRESSES (IP VERSION 6) | 197 | .Sh INTERNET ADDRESSES (IP VERSION 6) |
198 | In order to support scoped IPv6 addresses, | 198 | In order to support scoped IPv6 addresses, |
@@ -314,7 +314,7 @@ The | |||
314 | .Nm inet_addr , | 314 | .Nm inet_addr , |
315 | .Nm inet_network , | 315 | .Nm inet_network , |
316 | .Nm inet_makeaddr , | 316 | .Nm inet_makeaddr , |
317 | .Nm inet_lnaof | 317 | .Nm inet_lnaof , |
318 | and | 318 | and |
319 | .Nm inet_netof | 319 | .Nm inet_netof |
320 | functions appeared in | 320 | functions appeared in |