X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=docs%2Fctty.htm;h=8f466cdde6677c2fff3113d2aed8b06293a01fa4;hb=d4b719878f5a08986d0a3dc493aad90d4466752e;hp=b8bce003c0b49f5758f41076f3f10d4ee619b6ae;hpb=2afabe8b830cc8c33f5f1984767af4b8dc54803b;p=oweals%2Fbusybox.git
diff --git a/docs/ctty.htm b/docs/ctty.htm
index b8bce003c..8f466cdde 100644
--- a/docs/ctty.htm
+++ b/docs/ctty.htm
@@ -145,7 +145,7 @@ PID (process ID), PGID (process group ID) and SID (session ID)
of processes. With a shell that does not know about job control,
like ash
, each of its children will be in the same session
and have the same process group as the shell. With a shell that knows
-about job control, like bash
, the processes of one pipeline. like
+about job control, like bash
, the processes of one pipeline, like
% cat paper | ideal | pic | tbl | eqn | ditroff > out@@ -227,7 +227,7 @@ controlling tty. If there is none, this returns a random value larger than 1 that is not a process group ID.A process can set the foreground process group in its session using
tcsetpgrp(fd,pgrp)
, wherefd
refers to its -controlling tty, andpgrp
is a process group in the +controlling tty, andpgrp
is a process group in its session, and this session still is associated to the controlling tty of the calling process.How does one get
fd
? By definition,/dev/tty