NAMEFBB::Ofdstream - Output Stream initialized by a File Descriptor
DESCRIPTIONFBB::OFdStream objects may be used to insert information into a device whose file descriptor is available. File descriptors are not defined within the context of C++, but they can be used on operating systems that support the concept. Realize that using file descriptors introduces operating system dependencies. Note that sockets can be used as file descriptors.
NAMESPACEFBB All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.
CONSTRUCTORSo OFdStream(int fd, size_t n = 1): The constructor initializes the object to write to descriptor fd, using a buffer of size n, by default having size 1. The copy constructor is not available.
MEMBER FUNCTIONSAll members of std::ostream are available, as FBB::OFdStream inherits from this class. There are no additional members.
EXAMPLESee the clientsocket(3bobcat) man-page for an example showing how to use OFdStream.
FILESbobcat/ofdstream - defines the class interface
SEE ALSObobcat(7), ifdstream(3bobcat), ofdstreambuf(3bobcat)
BUGSThe OFdStream object uses a OFdStreamBuf for its std::streambuf. This buffer is associated with the file descriptor passed to OFdStream's constructor. When the OFdStream object goes out of scope the device (file, socket, etc.) to which the file descriptor that was passed to OFdStream's constructor is not closed.
DISTRIBUTION FILESo bobcat_2.18.00-x.dsc: detached signature; o bobcat_2.18.00-x.tar.gz: source archive; o bobcat_2.18.00-x_i386.changes: change log; o libbobcat1_2.18.00-x_*.deb: debian package holding the libraries; o libbobcat1-dev_2.18.00-x_*.deb: debian package holding the libraries, headers and manual pages; o //sourceforge.net/projects/bobcat: public archive location;
BOBCATBobcat is an acronym of 'Brokken's Own Base Classes And Templates'.
COPYRIGHTThis is free software, distributed under the terms of the GNU General Public License (GPL).
AUTHORFrank B. Brokken (email@example.com). FBB::OFDSTREAM(3)