Module Name:    src
Committed By:   riastradh
Date:           Wed Mar 19 18:21:39 UTC 2014

Modified Files:
        src/usr.bin/getaddrinfo: getaddrinfo.1

Log Message:
Clarify some wording in getaddrinfo.1.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/getaddrinfo/getaddrinfo.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/getaddrinfo/getaddrinfo.1
diff -u src/usr.bin/getaddrinfo/getaddrinfo.1:1.2 src/usr.bin/getaddrinfo/getaddrinfo.1:1.3
--- src/usr.bin/getaddrinfo/getaddrinfo.1:1.2	Mon Sep 30 08:13:59 2013
+++ src/usr.bin/getaddrinfo/getaddrinfo.1	Wed Mar 19 18:21:39 2014
@@ -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 @@ the
 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 @@ dgram inet udp 149.20.53.67 0
 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

Reply via email to