So what is the problem with what I said?
It wasn't true. The function does not return true or false. It returns the number of characters available to read. That a non-zero value means true and a zero value means false is completely irrelevant.
So what is the problem with what I said?
It wasn't true. The function does not return true or false. It returns the number of characters available to read. That a non-zero value means true and a zero value means false is completely irrelevant.