IFdStream(int fd, size_t n = 1):
The constructor initializes the object to read from descriptor fd, using a buffer of size n, by default having size 1. The copy constructor is not available.
All members of std::istream are available, as FBB::IFdStream inherits from this class. There are no additional members.
See the clientsocket(3bobcat) man-page for an example showing how to use IFdStream.
bobcat/ifdstream - defines the class interface
bobcat(7), ifdstreambuf(3bobcat), ofdstream(3bobcat)
The IFdStream object uses a IFdStreamBuf for its std::streambuf. This buffer is associated with the file descriptor passed to IFdStreams constructor. When the IFdStream object goes out of scope the device (file, socket, etc.) to which the file descriptor that was passed to IFdStreams constructor is not closed.
o bobcat_3.25.01-x.dsc: detached signature; o bobcat_3.25.01-x.tar.gz: source archive; o bobcat_3.25.01-x_i386.changes: change log; o libbobcat1_3.25.01-x_*.deb: debian package holding the libraries; o libbobcat1-dev_3.25.01-x_*.deb: debian package holding the libraries, headers and manual pages; o http://sourceforge.net/projects/bobcat: public archive location;
Bobcat is an acronym of Brokkens Own Base Classes And Templates.
This is free software, distributed under the terms of the GNU General Public License (GPL).
Frank B. Brokken (email@example.com).