News for hackers. Stuff that matters.
Re:Linux: Understanding File Descriptors and IO Redirection by dododo on Thursday August 26, 2010 @07:01AM (#1635600)
instead of /proc/PID/fd/XX you can simply use /proc/self/fd/XX if PID is simply the pid of the current process.

standard input/output/error are not necessarily character devices (as stated in the article). they can be anything (sockets, files, etc).

There are no comments on this comment yet.