Standard Input (stdin)
Standard input is data (often text) going into a program. The program requests data transfers by use of the read operation. Not all programs require input. For example, the dir or ls program (which displays file names contained in a directory) performs its operation without any stream data input.
Unless redirected, input is expected from the keyboard which started the program.
The file descriptor for standard input is 0 (zero); the POSIX
Read more about this topic: Standard Streams
Famous quotes containing the words standard and/or input:
“Gentlemen, those confederate flags and our national standard are what has made this union great. In what other country could a man who fought against you be permitted to serve as judge over you, be permitted to run for reelection and bespeak your suffrage on Tuesday next at the poles.”
—Laurence Stallings (18941968)
“Celebrity is a mask that eats into the face. As soon as one is aware of being somebody, to be watched and listened to with extra interest, input ceases, and the performer goes blind and deaf in his overanimation. One can either see or be seen.”
—John Updike (b. 1932)