Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ttyname(3) no longer returns /dev prefix?

It seems that ttyname(3) no longer returns the full path to the tty device file 
in /dev; it returns only the device name. E.g., it returns "ttyE0" instead of 
"/dev/ttyE0". Is this intentional? It causes problems for callers that expect 
it to return the full path.. E.g., login(1) can no longer chown the terminal to 
the user who logged in.

I'm running amd64 -current as of June 10.
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 36 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++

Home | Main Index | Thread Index | Old Index