Currently the FD for stdin and stdout has to be opened at user side. But after deep consideration this is not good enough.
We should not assign a invalid value to stdin just because it's not in the foreground of the terminal. That way, stdin is not a constant and has to be fetched using functions.
Currently the FD for stdin and stdout has to be opened at user side. But after deep consideration this is not good enough.
We should not assign a invalid value to stdin just because it's not in the foreground of the terminal. That way, stdin is not a constant and has to be fetched using functions.
We should assign stdout to FD#0 and stdin to FD#1