I think the idea is /proc/self/fd/%d will be checked first, and failing that it'll fall back to the slower /dev scanning method mentioned before. The function is ttyname On Mon, 2 Nov 1998, Kenneth Johansson wrote: > Is /proc needed to run glibc on linux? > > If yes. > why and what functions need it. > If No. > Good :) > > >