summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet.3
diff options
context:
space:
mode:
authorjaredy <>2005-07-22 04:50:51 +0000
committerjaredy <>2005-07-22 04:50:51 +0000
commit3553ae132550867ea92f1c819130713a94c9aa57 (patch)
tree0fcccaffb7fe67c8d9c1f46e9831c994ceadc81a /src/lib/libc/net/inet.3
parentfca3e187a867f51bfd0b46cc4d3f49175ffddef6 (diff)
downloadopenbsd-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.312
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
71The routines 71The routines
72.Fn inet_aton , 72.Fn inet_aton ,
73.Fn inet_addr 73.Fn inet_addr ,
74and 74and
75.Fn inet_network 75.Fn inet_network
76interpret character strings representing 76interpret character strings representing
@@ -83,8 +83,8 @@ function converts a presentation format address (that is, printable form
83as held in a character string) to network format (usually a 83as held in a character string) to network format (usually a
84.Li struct in_addr 84.Li struct in_addr
85or some other internal binary representation, in network byte order). 85or some other internal binary representation, in network byte order).
86It returns 1 if the address was valid for the specified address family, or 86It returns 1 if the address was valid for the specified address family;
870 if the address wasn't parseable in the specified address family, or \-1 870 if the address wasn't parseable in the specified address family; or \-1
88if some system error occurred (in which case 88if some system error occurred (in which case
89.Va errno 89.Va errno
90will have been set). 90will have been set).
@@ -192,7 +192,7 @@ in a
192notation 192notation
193may be decimal, octal, or hexadecimal, as specified 193may be decimal, octal, or hexadecimal, as specified
194in the C language (i.e., a leading 0x or 0X implies 194in the C language (i.e., a leading 0x or 0X implies
195hexadecimal; otherwise, a leading 0 implies octal; 195hexadecimal; a leading 0 implies octal;
196otherwise, the number is interpreted as decimal). 196otherwise, the number is interpreted as decimal).
197.Sh INTERNET ADDRESSES (IP VERSION 6) 197.Sh INTERNET ADDRESSES (IP VERSION 6)
198In order to support scoped IPv6 addresses, 198In 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 ,
318and 318and
319.Nm inet_netof 319.Nm inet_netof
320functions appeared in 320functions appeared in