释义 |
standard input/output standard input/output (programming, operating system)The predefined input/outputchannels which every Unix process is initialised with.Standard input is by default from the terminal, and standardoutput and standard error are to the terminal. Each of thesechannels (controlled via a file descriptor 0, 1, or 2 -stdin, stdout, stderr) can be redirected to a file, anotherdevice 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 toperform 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. |