Re: Who changed /proc// in 2.6.0-test5-bk9?

Jamie Lokier
2003-10-02T22:36:24Z

Miquel van Smoorenburg wrote:
> How about use /proc/self/task/self/fd/%d if /proc/self/task/self
> exists, /proc/self/fd/%d otherwise ?

/dev/stdin is a symbolic link to /proc/self/fd/0.

open("/dev/stdin", O_RDONLY) should always work, if descriptor 0 is readable.

Maybe you're saying /dev/stdin should be changed to link to
/proc/self/task/self/fd/0?

-- Jamie