summaryrefslogtreecommitdiff
path: root/src/stdio/putwc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-01-12 00:59:49 -0500
committerRich Felker <dalias@aerifal.cx>2015-01-12 00:59:49 -0500
commit9772eadba8f8b32a1744c4df5048d70c567f6082 (patch)
treea84dc010cc286e3c63884c1666679bb5885e74d2 /src/stdio/putwc.c
parent699d4532f6a8f792271c7f46608e2505ca3afc21 (diff)
downloadmusl-9772eadba8f8b32a1744c4df5048d70c567f6082.tar.gz
simplify ctermid
opening /dev/tty then using ttyname_r on it does not produce a canonical terminal name; it simply yields "/dev/tty". it would be possible to make ctermid determine the actual controlling terminal device via field 7 of /proc/self/stat, but doing so would introduce a buffer overflow into applications built with L_ctermid==9, which glibc defines, adversely affecting the quality of ABI compat.
Diffstat (limited to 'src/stdio/putwc.c')
0 files changed, 0 insertions, 0 deletions