All of lore.kernel.org
 help / color / mirror / Atom feed
* Duplicated text in getaddrinfo(3)
@ 2008-02-25  0:46 Sam Varshavchik
       [not found] ` <cone.1203900386.880941.11463.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Varshavchik @ 2008-02-25  0:46 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-26 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25  0:46 Duplicated text in getaddrinfo(3) Sam Varshavchik
     [not found] ` <cone.1203900386.880941.11463.500-lO+bjgoT4TKm14v+eVDVcBDJ/jce7dRH@public.gmane.org>
2008-02-26 15:12   ` Michael Kerrisk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.