Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net english fixup



details:   https://anonhg.NetBSD.org/src/rev/3a160c2f5a00
branches:  trunk
changeset: 499295:3a160c2f5a00
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Nov 16 07:25:36 2000 +0000

description:
english fixup

diffstat:

 lib/libc/net/getaddrinfo.3 |  18 +++++++++---------
 lib/libc/net/inet.3        |   5 +++--
 2 files changed, 12 insertions(+), 11 deletions(-)

diffs (83 lines):

diff -r 4703aad9e713 -r 3a160c2f5a00 lib/libc/net/getaddrinfo.3
--- a/lib/libc/net/getaddrinfo.3        Thu Nov 16 07:16:23 2000 +0000
+++ b/lib/libc/net/getaddrinfo.3        Thu Nov 16 07:25:36 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getaddrinfo.3,v 1.16 2000/08/09 22:52:49 itojun Exp $
+.\"    $NetBSD: getaddrinfo.3,v 1.17 2000/11/16 07:28:15 lukem Exp $
 .\"    $KAME: getaddrinfo.3,v 1.22 2000/08/09 21:16:17 itojun Exp $
 .\"
 .\" Copyright (c) 1983, 1987, 1991, 1993
@@ -278,12 +278,12 @@
 .Bl -bullet
 .It
 .Fn getaddrinfo
-will raise error if members in 
+will raise an error if members of the 
 .Fa hints
-structure is not consistent.
+structure are not consistent.
 For example, for internet address families,
 .Fn getaddrinfo
-will raise error if you specify
+will raise an error if you specify
 .Dv SOCK_STREAM
 to
 .Fa ai_socktype
@@ -297,10 +297,10 @@
 which is defined only for certain
 .Fa ai_socktype ,
 .Fn getaddrinfo
-will raise error because the arguments are not consistent.
+will raise an error because the arguments are not consistent.
 For example,
 .Fn getaddrinfo
-will raise error if you ask for
+will raise an error if you ask for
 .Dq Li tftp
 service on
 .Dv SOCK_STREAM .
@@ -312,11 +312,11 @@
 to
 .Dv SOCK_RAW ,
 .Fn getaddrinfo
-will raise error, because service names are not defined for the internet
+will raise an error, because service names are not defined for the internet
 .Dv SOCK_RAW
 space.
 .It
-If you specify numeric
+If you specify a numeric
 .Fa servname ,
 while leaving
 .Fa ai_socktype
@@ -324,7 +324,7 @@
 .Fa ai_protocol
 unspecified,
 .Fn getaddrinfo
-will raise error.
+will raise an error.
 This is because the numeric
 .Fa servname
 does not identify any socket type, and
diff -r 4703aad9e713 -r 3a160c2f5a00 lib/libc/net/inet.3
--- a/lib/libc/net/inet.3       Thu Nov 16 07:16:23 2000 +0000
+++ b/lib/libc/net/inet.3       Thu Nov 16 07:25:36 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: inet.3,v 1.14 2000/06/18 20:30:26 itojun Exp $
+.\"    $NetBSD: inet.3,v 1.15 2000/11/16 07:25:36 lukem Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -209,10 +209,11 @@
 otherwise, the number is interpreted as decimal).
 .Sh INTERNET ADDRESSES (IP VERSION 6)
 In order to support scoped IPv6 addresses,
+the use of
 .Xr getaddrinfo 3
 and
 .Xr getnameinfo 3
-are recommeded than functions presented here.
+is recommended rather than the functions presented here.
 .Pp
 The presentation format of an IPv6 address is given in RFC 2373:
 .Pp



Home | Main Index | Thread Index | Old Index