ttyname() and linux+devfs

Ulrich Drepper drepper@cygnus.com
Thu Oct 29 16:49:00 GMT 1998


Clifford Wolf <clifford@clifford.at> writes:

> That's a good question. Why don't making just a readlink() on
> /proc/self/fd/%d (where %d is the fd number)? Would be much faster
> than scanning /dev and works with all /dev structures ...

It's in the development version and will be in the next snapshot.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-hacker mailing list