Stream

A stream is a connection to a file. Your terminal is treated as a special file. A stream can be referred to by a stream identifier or its aliases. By default, the streams user_input and user_output are already open, referring to the standard input (keyboard) and the standard output (screen) respectively.

Neng-Fa Zhou 2012-01-03