This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: ttyname() and linux+devfs
In dist.glibc, article <909753268.29893@noris.de>,
Kenneth Johansson <erakeon@kieray1.p.y.ki.era.ericsson.se> writes:
>
> That could explain why I dont get the thing to run I dont have a /proc. What
> would happen if i dont have /proc.
You lose, ttyname() fails. The same happens now if you dynamically create
the device files for your tty in /tmp.
That's not a normal case under Linux. Startup environments or embedded
minimal environments don't need ttyname(), IMHO.
Or alternately we could fall back on the old method.
--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
Never remove an anomaly simply because it is an anomaly.
-- Macaulay