std::basic_streambuf<CharT,Traits>::showmanyc (3) - Linux Manuals
std::basic_streambuf<CharT,Traits>::showmanyc: std::basic_streambuf<CharT,Traits>::showmanyc
Command to display std::basic_streambuf<CharT,Traits>::showmanyc
manual in Linux: $ man 3 std::basic_streambuf<CharT,Traits>::showmanyc
NAME
std::basic_streambuf<CharT,Traits>::showmanyc - std::basic_streambuf<CharT,Traits>::showmanyc
Synopsis
protected:
virtual std::streamsize showmanyc();
Estimates the number of characters available for input in the associated character sequence. underflow() is guaranteed not to return Traits::eof() or throw an exception until at least that many characters are extracted.
Parameters
(none)
Return value
The number of characters that are certainly available in the associated character sequence, or -1 if showmanyc can determine, without blocking, that no characters are available. If showmanyc returns -1, underflow() and uflow() will definitely return Traits::eof or throw.
The base class version returns 0, which has the meaning of "unsure if there are characters available in the associated sequence".
Notes
The name of this function stands for "stream: how many characters?", so it is pronounced "S how many C", rather than "show many C"
Example
This section is incomplete
Reason: no example
See also
obtains the number of characters immediately available in the get area
in_avail (public member function)
showmanyc optionally provides the number of characters available for input from the file
(virtual protected member function of std::basic_filebuf<CharT,Traits>)
[virtual]
Pages related to std::basic_streambuf<CharT,Traits>::showmanyc
- std::basic_streambuf<CharT,Traits>::sbumpc (3) - std::basic_streambuf<CharT,Traits>::sbumpc
- std::basic_streambuf<CharT,Traits>::setg (3) - std::basic_streambuf<CharT,Traits>::setg
- std::basic_streambuf<CharT,Traits>::setp (3) - std::basic_streambuf<CharT,Traits>::setp
- std::basic_streambuf<CharT,Traits>::sgetc (3) - std::basic_streambuf<CharT,Traits>::sgetc
- std::basic_streambuf<CharT,Traits>::sgetn,std::basic_streambuf<CharT,Traits>::xsgetn (3) - std::basic_streambuf<CharT,Traits>::sgetn,std::basic_streambuf<CharT,Traits>::xsgetn
- std::basic_streambuf<CharT,Traits>::snextc (3) - std::basic_streambuf<CharT,Traits>::snextc
- std::basic_streambuf<CharT,Traits>::sputbackc (3) - std::basic_streambuf<CharT,Traits>::sputbackc
- std::basic_streambuf<CharT,Traits>::sputc (3) - std::basic_streambuf<CharT,Traits>::sputc
- std::basic_streambuf<CharT,Traits>::sputn,std::basic_streambuf<CharT,Traits>::xsputn (3) - std::basic_streambuf<CharT,Traits>::sputn,std::basic_streambuf<CharT,Traits>::xsputn
- std::basic_streambuf<CharT,Traits>::sungetc (3) - std::basic_streambuf<CharT,Traits>::sungetc
- std::basic_streambuf<CharT,Traits>::swap (3) - std::basic_streambuf<CharT,Traits>::swap
- std::basic_streambuf<CharT,Traits>::basic_streambuf (3) - std::basic_streambuf<CharT,Traits>::basic_streambuf
- std::basic_streambuf<CharT,Traits>::eback,gptr,egptr (3) - std::basic_streambuf<CharT,Traits>::eback,gptr,egptr
- std::basic_streambuf<CharT,Traits>::gbump (3) - std::basic_streambuf<CharT,Traits>::gbump
- std::basic_streambuf<CharT,Traits>::getloc (3) - std::basic_streambuf<CharT,Traits>::getloc
- std::basic_streambuf<CharT,Traits>::in_avail (3) - std::basic_streambuf<CharT,Traits>::in_avail
- std::basic_streambuf<CharT,Traits>::operator= (3) - std::basic_streambuf<CharT,Traits>::operator=
- std::basic_streambuf<CharT,Traits>::overflow (3) - std::basic_streambuf<CharT,Traits>::overflow
- std::basic_streambuf<CharT,Traits>::pbackfail (3) - std::basic_streambuf<CharT,Traits>::pbackfail
- std::basic_streambuf<CharT,Traits>::pbase,std::basic_streambuf<CharT,Traits>::pptr, (3) - std::basic_streambuf<CharT,Traits>::pbase,std::basic_streambuf<CharT,Traits>::pptr,
- std::basic_streambuf<CharT,Traits>::pbase,std::basic_streambuf<CharT,Traits>::pptr,std::basic_streambuf<CharT,Traits>::epptr (3) - std::basic_streambuf<CharT,Traits>::pbase,std::basic_streambuf<CharT,Traits>::pptr,std::basic_streambuf<CharT,Traits>::epptr
- std::basic_streambuf<CharT,Traits>::pbump (3) - std::basic_streambuf<CharT,Traits>::pbump
- std::basic_streambuf<CharT,Traits>::pubimbue,std::basic_streambuf<CharT,Traits>::imbue (3) - std::basic_streambuf<CharT,Traits>::pubimbue,std::basic_streambuf<CharT,Traits>::imbue
- std::basic_streambuf<CharT,Traits>::pubseekoff, (3) - std::basic_streambuf<CharT,Traits>::pubseekoff,
- std::basic_streambuf<CharT,Traits>::pubseekoff,std::basic_streambuf<CharT,Traits>::seekoff (3) - std::basic_streambuf<CharT,Traits>::pubseekoff,std::basic_streambuf<CharT,Traits>::seekoff
- std::basic_streambuf<CharT,Traits>::pubseekpos, (3) - std::basic_streambuf<CharT,Traits>::pubseekpos,
- std::basic_streambuf<CharT,Traits>::pubseekpos,std::basic_streambuf<CharT,Traits>::seekpos (3) - std::basic_streambuf<CharT,Traits>::pubseekpos,std::basic_streambuf<CharT,Traits>::seekpos
- std::basic_streambuf<CharT,Traits>::pubsetbuf,std::basic_streambuf<CharT,Traits>::setbuf (3) - std::basic_streambuf<CharT,Traits>::pubsetbuf,std::basic_streambuf<CharT,Traits>::setbuf
- std::basic_streambuf<CharT,Traits>::pubsync,std::basic_streambuf<CharT,Traits>::sync (3) - std::basic_streambuf<CharT,Traits>::pubsync,std::basic_streambuf<CharT,Traits>::sync
- std::basic_streambuf<CharT,Traits>::uflow (3) - std::basic_streambuf<CharT,Traits>::uflow
- std::basic_streambuf<CharT,Traits>::underflow (3) - std::basic_streambuf<CharT,Traits>::underflow
- std::basic_streambuf<CharT,Traits>::~basic_streambuf (3) - std::basic_streambuf<CharT,Traits>::~basic_streambuf
- std::basic_streambuf (3) - std::basic_streambuf