ttyname() and linux+devfs

Martin von Loewis martin@mira.isdn.cs.tu-berlin.de
Thu Oct 29 11:34:00 GMT 1998


> /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



More information about the Libc-alpha mailing list