Looking ahead into the stream.

Synopsis

Declared in <bslstl_syncbuf.h>

streamsize
in_avail();

Description

If a read position is available, returns the number of characters available for reading before the buffer must be refilled. Otherwise returns the derived showmanyc().

Return Value

The number of characters available.

Created with MrDocs