public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
Cc: linux-man@vger.kernel.org, "Marek Behún" <kabel@kernel.org>
Subject: [PATCH] ioctl_tty.2: TIOCGSID is equivalent to tcgetsid()
Date: Mon, 30 Aug 2021 18:08:57 +0200	[thread overview]
Message-ID: <20210830160857.25574-1-pali@kernel.org> (raw)

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 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
-- 
2.20.1


             reply	other threads:[~2021-08-30 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 16:08 Pali Rohár [this message]
2021-08-30 21:17 ` [PATCH] ioctl_tty.2: TIOCGSID is equivalent to tcgetsid() Michael Kerrisk (man-pages)

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=20210830160857.25574-1-pali@kernel.org \
    --to=pali@kernel.org \
    --cc=alx.manpages@gmail.com \
    --cc=kabel@kernel.org \
    --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