ioctl_tty.2: TIOCGSID is equivalent to tcgetsid()
PATCH 1/1 ioctl_tty.2: TIOCGSID is equivalent to tcgetsid()
Signed-off-by Pali Rohár <[email protected]>
--- man2/ioctl_tty.2 | 3 +++ 1 file changed, 3 insertions(+)
man2/ioctl_tty.2 +3 -0
@@ -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
Signature · 1 line
2.20.1
Hello Pali,
Quoted 1 line · Pali Rohár
Signed-off-by Pali Rohár <[email protected]>
Thanks. Patch applied.
Cheers,
Michael
Quoted 19 lines
--- man2/ioctl_tty.2 | 3 +++ 1 file changed, 3 insertions(+)man2/ioctl_tty.2 +3
-0@@ -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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/