public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Varshavchik <mrsam-W1w4QoW4mIDgLSHwZvcCBg@public.gmane.org>
To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Duplicated text in getaddrinfo(3)
Date: Sun, 24 Feb 2008 19:46:26 -0500	[thread overview]
Message-ID: <cone.1203900386.880941.11463.500@commodore.email-scan.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

The current version of getaddrinfo(3) seems to have some a small amount of 
duplicative text, possibly a small cut-paste fudge.

Describing the results placed into the returned addrinfo struct:

The members
.IR ai_family ,
.IR ai_socktype ,
and
.I ai_protocol
have the same meaning as the corresponding parameters in the
.BR socket (2)
system call.


Then, two paragraphs later:

.IR ai_family ,
.IR ai_socktype ,
and
.I ai_protocol
specify the socket creation parameters.

Even those the immediately preceding sentence refers to the hints input 
parameter, this sentence seems to refer to the output addrinfo struct again, 
and just restates the description given two paragraphs earlier.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-02-25  0:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25  0:46 Sam Varshavchik [this message]
     [not found] ` <cone.1203900386.880941.11463.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>
2008-02-26 15:12   ` Duplicated text in getaddrinfo(3) Michael Kerrisk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cone.1203900386.880941.11463.500@commodore.email-scan.com \
    --to=mrsam-w1w4qow4midglshwzvccbg@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox