Specify that the file descriptor fd be used for typeahead checking. fd File descriptor. If fd is -1, then no typeahead checking is done.
curses/typeahead
typeahead