freebsd-dev/lib/libc
Ed Schouten 33f3f40866 Reimplement ctermid().
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.
2011-10-01 12:19:48 +00:00
..
amd64 Remove incorrect attribution. 2011-07-21 20:06:14 +00:00
arm Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
compat-43
db Fix clang warnings. 2011-06-18 13:56:33 +00:00
gdtoa
gen Reimplement ctermid(). 2011-10-01 12:19:48 +00:00
gmon
i386
ia64
iconv - Fix a trivial bug in iconv. When there is no space to perform the 2011-09-19 22:49:36 +00:00
include
inet
isc
locale Fix grammar. 2011-09-27 17:54:10 +00:00
mips
nameser
net Fix a pathname (s,netinet/if_ether.h,net/ethernet.h,). 2011-08-08 03:09:03 +00:00
nls
posix1e
powerpc
powerpc64
quad
regex
resolv Add an option to enforce strict RFC 1034 compliance. 2009-05-29 07:34:54 +00:00
rpc
softfloat
sparc64
stdio
stdlib Fix building of 32-bit compat libraries on amd64 with clang, and using 2011-07-18 20:07:29 +00:00
stdtime
string
sys Clarify the behaviour of sigwait() on signal interruption, and note 2011-08-25 10:00:38 +00:00
uuid
xdr Add a HISTORY section 2011-07-10 06:57:00 +00:00
yp
Makefile
Versions.def