This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: ttyname() and linux+devfs
- To: Clifford Wolf <clifford@clifford.at>
- Subject: Re: ttyname() and linux+devfs
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 29 Oct 1998 15:11:00 -0800
- Cc: glibc-linux@ricardo.ecn.wfu.edu, libc-alpha@cygnus.com
- References: <Pine.LNX.3.96.981029224637.30304A-100000@babel.clifford.at>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------