the tv _ sec and tv _ usec together form the timeout parameter the timeout is an upper bound on the amount of time elapsed before stream _ select returns tv _ sec may be zero causing stream _ select to return immediately this is useful for polling if tv _ sec is null no timeout stream _ select can block indefinitely 