void redirect_io(int fd);
Redirects standard input, standard output, and standard error to the file handle fd. This is commonly used to redirect a command to an open socket.
void redirect_io(int fd);
Redirects standard input, standard output, and standard error to the file handle fd. This is commonly used to redirect a command to an open socket.