[PATCH] ioctl_tty.2: TIOCGSID is equivalent to tcgetsid()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>
---
 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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux