GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::basic_streambuf::in_avail(3) C++ Standard Libary std::basic_streambuf::in_avail(3)

std::basic_streambuf::in_avail - std::basic_streambuf::in_avail


std::streamsize in_avail();


Returns the number of characters available in the get area. If a read position is
available, effectively returns egptr() - gptr(), the size of the get area. In this
case, the number of bytes returned is the number of bytes that can be extracted from
the buffer without calling underflow().


If the get area is empty, calls showmanyc() to determine the number of bytes
available in the associated character sequence. In this case, the value returned is
the number of bytes that can be extracted from the buffer while it's guaranteed that
underflow() would not return Traits::eof.


(none)


The number of characters available for non-blocking read (either the size of the get
area or the number of characters ready for reading from the associated character
sequence), or -1 if no characters are available in the associated sequence as far as
showmanyc() can tell.


This section is incomplete
Reason: no example


showmanyc optionally provides the number of characters available for input from the
[virtual] file
(virtual protected member function of std::basic_filebuf<CharT,Traits>)
readsome extracts already available blocks of characters
(public member function of std::basic_istream<CharT,Traits>)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.