public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioctl_tty.2: TIOCGSID is equivalent to tcgetsid()
@ 2021-08-30 16:08 Pali Rohár
  2021-08-30 21:17 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2021-08-30 16:08 UTC (permalink / raw)
  To: Alejandro Colomar (man-pages); +Cc: linux-man, Marek Behún

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


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

end of thread, other threads:[~2021-08-30 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox