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:
“The art of advertisement, after the American manner, has introduced into all our life such a lavish use of superlatives, that no standard of value whatever is intact.”
—Wyndham Lewis (18821957)
“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)