Stdin is the input stream for a program. Stdin has a file descriptor of 0 on Unix.