summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/ctermid.c
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement ctermid().ed2011-10-011-19/+32
| | | | | | | | | | | Even though POSIX allows us to return simply /dev/tty as a pathname identifying the controlling terminal of the running process, it is nicer if this function were actually useful, by returning the actual pathname of the controlling terminal. Implement ctermid() by using the kern.devname sysctl to resolve the actual name of /dev/tty. Don't use devname(3), since it may return bogus strings like #C:0x123.
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Fix the style of the SCM ID's.obrien2002-03-221-2/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* Provide and document ctermid_r function.wes1999-11-281-2/+10
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+53
OpenPOWER on IntegriCloud