Availability:C-language interface function
int Sset_timeout(IOSTREAM
*s, int milliseconds)Set the timeout on an input stream to milliseconds. If this
value is non-negative the the poll() or select() API is used to wait
until input is available. If no input is available within the specified
time an error is raised on the stream.