Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/getaddrinfo Clarify some wording in getaddrinfo.1.



details:   https://anonhg.NetBSD.org/src/rev/d5c97d69bffd
branches:  trunk
changeset: 327875:d5c97d69bffd
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Mar 19 18:21:39 2014 +0000

description:
Clarify some wording in getaddrinfo.1.

diffstat:

 usr.bin/getaddrinfo/getaddrinfo.1 |  16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r e900fb5ba60e -r d5c97d69bffd usr.bin/getaddrinfo/getaddrinfo.1
--- a/usr.bin/getaddrinfo/getaddrinfo.1 Wed Mar 19 18:11:17 2014 +0000
+++ b/usr.bin/getaddrinfo/getaddrinfo.1 Wed Mar 19 18:21:39 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getaddrinfo.1,v 1.2 2013/09/30 08:13:59 wiz Exp $
+.\"    $NetBSD: getaddrinfo.1,v 1.3 2014/03/19 18:21:39 riastradh Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 30, 2013
+.Dd March 19, 2014
 .Dt GETADDRINFO 1
 .Os
 .Sh NAME
@@ -50,10 +50,15 @@
 routine and formats them to standard output.
 .Pp
 The output is a sequence of lines of space-separated fields:
+.Pp
 .Dl socket-type address-family protocol [af-specific data ...]
 .Pp
-For the internet family, the address-family-specific data are the
-internet address and the port number.
+For the
+.Dq inet
+and
+.Dq inet6
+address families, the af-specific data are the IP/IPv6 address and port
+number.
 .Pp
 Although the
 .Nm
@@ -143,7 +148,8 @@
 stream inet6 tcp 2001:4f8:3:7:2e0:81ff:fe52:9ab6 0
 stream inet tcp 149.20.53.67 0
 .Ed
-The unspecified service manifested as a port number of zero.
+.Pp
+The port number here is zero because no service was specified.
 .Pp
 Look up
 .Dq morden.NetBSD.org



Home | Main Index | Thread Index | Old Index