Say I set the stream timeout to 5 seconds with stream_set_timeout, call
fwrites, which takes 2 seconds, and then call fgets, which takes
another 2 seconds. Would a subsequent call to fwrite timeout in 1
second or in 5?
I'd test it out myself, if I knew how to make stuff take 2 seconds to
load, but alas - I don't.