Availability:C-language interface function
size_t Spending(IOSTREAM 
*s)Return the number of bytes that can be read from s without 
blocking. If there is buffered input, this is the number of bytes 
buffered. Otherwise it is the result of the Scontrol_function() 
using the action SIO_GETPENDING.