diff options
author | Harald Hoyer | 2012-03-14 10:07:18 +0100 |
---|---|---|
committer | Karel Zak | 2012-03-20 09:22:54 +0100 |
commit | 8a2f04ddca527dfbfacbe9c6504e858ef8c5c35d (patch) | |
tree | be3e0a16494944f680a23defa7139ea1087c10f0 /sys-utils/setsid.1 | |
parent | build-sys: make the crosscompile path for scanf_cv_alloc_modifier clever (diff) | |
download | kernel-qcow2-util-linux-8a2f04ddca527dfbfacbe9c6504e858ef8c5c35d.tar.gz kernel-qcow2-util-linux-8a2f04ddca527dfbfacbe9c6504e858ef8c5c35d.tar.xz kernel-qcow2-util-linux-8a2f04ddca527dfbfacbe9c6504e858ef8c5c35d.zip |
setsid: add option "-c" to set the controlling terminal
[kzak@redhat.com: - use STDIN_FILENO rather than 0]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/setsid.1')
-rw-r--r-- | sys-utils/setsid.1 | 4 |
1 files changed, 4 insertions, 0 deletions
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 |