linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [patch] socket.2: DOMAIN's are defined in <bits/socket.h> not <sys/socket.h>
       [not found] ` <1890759341.185699.1585415628792@mail.yahoo.com>
@ 2020-03-30  9:11   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; only message in thread
From: Michael Kerrisk (man-pages) @ 2020-03-30  9:11 UTC (permalink / raw)
  To: Anvar Nasar; +Cc: mtk.manpages, linux-man

On 3/28/20 6:13 PM, Anvar Nasar wrote:
> diff --git a/man2/socket.2 b/man2/socket.2
> index 0b3b90bb8..3c4f025d2 100644
> --- a/man2/socket.2
> +++ b/man2/socket.2
> @@ -61,7 +61,7 @@ The
>   argument specifies a communication domain; this selects the protocol
>   family which will be used for communication.
>   These families are defined in
> -.IR <sys/socket.h> .
> +.IR <bits/socket.h> .
>   The formats currently understood by the Linux kernel include:
>   .TS
>   tab(:);

<bits/socket.h> is included by <sys/socket.h>. <sys/socket.h> is
the standards-compliant way of getting the definitions.

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-30  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1890759341.185699.1585415628792.ref@mail.yahoo.com>
     [not found] ` <1890759341.185699.1585415628792@mail.yahoo.com>
2020-03-30  9:11   ` [patch] socket.2: DOMAIN's are defined in <bits/socket.h> not <sys/socket.h> Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).