From 8a2f04ddca527dfbfacbe9c6504e858ef8c5c35d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 14 Mar 2012 10:07:18 +0100 Subject: setsid: add option "-c" to set the controlling terminal [kzak@redhat.com: - use STDIN_FILENO rather than 0] Signed-off-by: Karel Zak --- sys-utils/setsid.1 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-utils/setsid.1') diff --git a/sys-utils/setsid.1 b/sys-utils/setsid.1 index 0d9580ece..eff794858 100644 --- a/sys-utils/setsid.1 +++ b/sys-utils/setsid.1 @@ -11,6 +11,10 @@ setsid \- run a program in a new session .SH DESCRIPTION .B setsid runs a program in a new session. +.SH OPTIONS +.TP +\fB\-c\fP, \fB\-\-ctty\fP +Set the controlling terminal to the current one. .SH "SEE ALSO" .BR setsid (2) .SH AUTHOR -- cgit v1.2.3-55-g7522