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


Manual Reference Pages  -  OFDSTREAM (3)

NAME

FBB::Ofdstream - Output Stream initialized by a File Descriptor

CONTENTS

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

o 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.

FILES

bobcat/ofdstream - defines the class interface

SEE ALSO

bobcat(7), ifdstream(3bobcat), ofdstreambuf(3bobcat)

BUGS

The OFdStream object uses a OFdStreamBuf for its std::streambuf. This buffer is associated with the file descriptor passed to OFdStream\(cqs constructor. When the OFdStream object goes out of scope the device (file, socket, etc.) to which the file descriptor that was passed to OFdStream\(cqs constructor is not closed.

DISTRIBUTION FILES

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

Bobcat is an acronym of ‘Brokken\(cqs Own Base Classes And Templates\(cq.

COPYRIGHT

This is free software, distributed under the terms of the GNU General Public License (GPL).

AUTHOR

Frank B. Brokken (f.b.brokken@rug.nl).

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


libbobcat-dev_3&.25&.01-x&.tar&.gz FBB::OFDSTREAM (3bobcat) 2005-2015

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