Availability:C-language interface function
*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.