<[EMAIL PROTECTED]> writes:

>       AFAICT the function wants to know if there is any
>       data left in the buffer after the current read pointer.

Based on the definition of __getc(), I'd expect the following to
work, at least for regular streams without fancy features like
on-the-fly decompression:

  return (f->__bufp < f->__get_limit) ? SCHTRUE : char_ready_fdes(fd);

What kind of #ifdef are you going to put around it?


Reply via email to