I have a question about redirection of stdio. It's usually not a big
deal using dup(), dup2(), fcntl(), etc... But is it possible to
redirect std handles independently from different threads in Linux? I
would like to implement the vxWorks ioTaskStdGet(), ioTaskStdSet()
functions with Linux.

Is there a way to go? It could be a hard way but is it possible at
all? If not i'd have a major problem here. Maybe POSIX, no idea.
Probably someone can recommend a good book about system programming in

Xpost, f'up to comp.os.linux.development.system