Standard input/output
<programming, operating system> The predefined input/output channels which every Unix process is initialised with. Standard input is by default from the terminal, and standard output and standard error are to the terminal.
Each of these channels (controlled via a file descriptor 0, 1, or 2 – stdin, stdout, stderr) can be redirected to a file, another device or a pipe connecting its process to another process. The process is normally unaware of such I/O redirection, thus simplifying prototyping of combinations of commands.
The C programming language library includes routines to perform basic operations on standard I/O.
Examples are “printf”, allowing text to be sent to standard output, and “scanf”, allowing the program to read from standard input.
< Previous Terms | Terms Containing standard input/output | Next Terms > |
standard deviation standard for robot exclusion Standard for the exchange of product model data Standard Generalised Markup Language Standard Generalized Markup Language |
input/output redirection standard I/O stderr stdin stdio |
Standard Instrument Control Library standard interpretation standard I/O Standard Lisp Standard ML |