For a program requesting input from a terminal, there is a chain of procedure calls which extends to “ttread” ...