linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Anvar Nasar <anvarnasar@ymail.com>
Cc: mtk.manpages@gmail.com,
	"linux-man@vger.kernel.org" <linux-man@vger.kernel.org>
Subject: Re: [patch] socket.2: DOMAIN's are defined in <bits/socket.h> not <sys/socket.h>
Date: Mon, 30 Mar 2020 11:11:06 +0200	[thread overview]
Message-ID: <6c4dbd2b-4eed-82a8-cd62-2cff87c0fcfe@gmail.com> (raw)
In-Reply-To: <1890759341.185699.1585415628792@mail.yahoo.com>

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/

           reply	other threads:[~2020-03-30  9:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1890759341.185699.1585415628792@mail.yahoo.com>]

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=6c4dbd2b-4eed-82a8-cd62-2cff87c0fcfe@gmail.com \
    --to=mtk.manpages@gmail.com \
    --cc=anvarnasar@ymail.com \
    --cc=linux-man@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).