This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ttyname() and linux+devfs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]