summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet.3
diff options
context:
space:
mode:
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