Stream

A stream is a connection to a file. The terminal is treated as a special file. A stream can be referenced 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 2013-01-25