Possible Duplicate:
Writing to stdin and reading from stdout (UNIX/LINUX/C Programming)
I have a simple question regarding stdio of linux system.
what happens if a program writes to stdin? or reads from stdout, stderr...?
I want to know the details from operating system's view. thank you in advance