This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: ttyname() and linux+devfs
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: Re: ttyname() and linux+devfs
- From: Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
- Date: Thu, 29 Oct 1998 20:36:02 +0100
- CC: libc-alpha@cygnus.com, glibc-linux@ricardo.ecn.wfu.edu
- References: <Pine.LNX.3.96.981029113149.28259A-100000@babel.clifford.at>
> /dev/vc/*, my cua devices are /dev/cua/* and so on. It would be great if
> the ttyname function could make a recursive scan thru the compleate /dev
> directory structure instead of lokking only in /dev/ and /dev/pts/.
Why not use /proc/self/fd/0 instead?
Martin