From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: "Pali Rohár" <pali@kernel.org>,
"Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org,
"Marek Behún" <kabel@kernel.org>
Subject: Re: [PATCH] ioctl_tty.2: TIOCGSID is equivalent to tcgetsid()
Date: Mon, 30 Aug 2021 23:17:22 +0200 [thread overview]
Message-ID: <671d0530-8eef-a4e1-a7a3-fc2399083d75@gmail.com> (raw)
In-Reply-To: <20210830160857.25574-1-pali@kernel.org>
Hello Pali,
On 8/30/21 6:08 PM, Pali Rohár wrote:
> Signed-off-by: Pali Rohár <pali@kernel.org>
Thanks. Patch applied.
Cheers,
Michael
> ---
> man2/ioctl_tty.2 | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2
> index c7a8aad7b395..6ba18f337e8f 100644
> --- a/man2/ioctl_tty.2
> +++ b/man2/ioctl_tty.2
> @@ -401,6 +401,9 @@ Set the foreground process group ID of this terminal.
> Argument:
> .BI "pid_t *" argp
> .IP
> +When successful, equivalent to
> +.IR "*argp = tcgetsid(fd)" .
> +.IP
> Get the session ID of the given terminal.
> This fails with the error
> .B ENOTTY
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
prev parent reply other threads:[~2021-08-30 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-30 16:08 [PATCH] ioctl_tty.2: TIOCGSID is equivalent to tcgetsid() Pali Rohár
2021-08-30 21:17 ` Michael Kerrisk (man-pages) [this message]
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=671d0530-8eef-a4e1-a7a3-fc2399083d75@gmail.com \
--to=mtk.manpages@gmail.com \
--cc=alx.manpages@gmail.com \
--cc=kabel@kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=pali@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