From 3553ae132550867ea92f1c819130713a94c9aa57 Mon Sep 17 00:00:00 2001 From: jaredy <> Date: Fri, 22 Jul 2005 04:50:51 +0000 Subject: - sync prototypes and header file excerpts - typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc --- src/lib/libc/net/inet.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/libc/net/inet.3') 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 @@ -.\" $OpenBSD: inet.3,v 1.18 2003/09/09 12:00:39 jmc Exp $ +.\" $OpenBSD: inet.3,v 1.19 2005/07/22 04:50:51 jaredy Exp $ .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -70,7 +70,7 @@ .Sh DESCRIPTION The routines .Fn inet_aton , -.Fn inet_addr +.Fn inet_addr , and .Fn inet_network interpret character strings representing @@ -83,8 +83,8 @@ function converts a presentation format address (that is, printable form as held in a character string) to network format (usually a .Li struct in_addr or some other internal binary representation, in network byte order). -It returns 1 if the address was valid for the specified address family, or -0 if the address wasn't parseable in the specified address family, or \-1 +It returns 1 if the address was valid for the specified address family; +0 if the address wasn't parseable in the specified address family; or \-1 if some system error occurred (in which case .Va errno will have been set). @@ -192,7 +192,7 @@ in a notation may be decimal, octal, or hexadecimal, as specified in the C language (i.e., a leading 0x or 0X implies -hexadecimal; otherwise, a leading 0 implies octal; +hexadecimal; a leading 0 implies octal; otherwise, the number is interpreted as decimal). .Sh INTERNET ADDRESSES (IP VERSION 6) In order to support scoped IPv6 addresses, @@ -314,7 +314,7 @@ The .Nm inet_addr , .Nm inet_network , .Nm inet_makeaddr , -.Nm inet_lnaof +.Nm inet_lnaof , and .Nm inet_netof functions appeared in -- cgit v1.2.3-55-g6feb