Ed Schouten 46b303e83d Add tcsetsid(3).
The entire world seems to use the non-standard TIOCSCTTY ioctl to make a
TTY a controlling terminal of a session. Even though tcsetsid(3) is also
non-standard, I think it's a lot better to use in our own source code,
mainly because it's similar to tcsetpgrp(), tcgetpgrp() and tcgetsid().

I stole the idea from QNX. They do it the other way around; their
TIOCSCTTY is just a wrapper around tcsetsid(). tcsetsid() then calls
into an IPC framework.
2009-05-07 13:49:48 +00:00
..
2007-09-28 15:31:44 +00:00
2007-09-28 15:31:44 +00:00
2006-01-16 00:28:11 +00:00
2009-05-07 13:49:48 +00:00
2008-10-17 21:21:14 +00:00
2008-11-04 13:50:50 +00:00
2008-11-25 02:15:09 +00:00