summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/tcgetsid.3
Commit message (Collapse)AuthorAgeFilesLines
* Add tcsetsid(3).ed2009-05-071-1/+2
| | | | | | | | | | | 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.
* Implement POSIX function tcgetsid() which returns session id.davidxu2008-04-151-0/+71
PR: stand/107561
OpenPOWER on IntegriCloud