dup2 179 uspace/lib/pcut/src/os/unix.c dup2(link_stdout[1], STDOUT_FILENO); dup2 181 uspace/lib/pcut/src/os/unix.c dup2(link_stderr[1], STDERR_FILENO); dup2 98 uspace/lib/posix/include/posix/unistd.h extern int dup2(int fildes, int fildes2);HelenOS homepage, sources at GitHub