FBB::Ofdstream - Output Stream initialized by a File Descriptor
SYNOPSIS
#include <bobcat/ofdstream>
DESCRIPTION
FBB::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.
NAMESPACE
FBB
All constructors, members, operators and manipulators, mentioned in this
man-page, are defined in the namespace FBB.
INHERITS FROM
std::ostream
CONSTRUCTORS
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 FUNCTIONS
All members of std::ostream are available, as FBB::OFdStream
inherits from this class. There are no additional members.
EXAMPLE
See the clientsocket(3bobcat) man-page for an example showing how to
use OFdStream.