Sun Studio 12: C++ User's Guide

14.11 iostream Man Pages

A number of C++ man pages give details of the iostream library. The following table gives an overview of what is in each man page.

To access a classic iostream library man page, type:


example% man -s 3CC4 name
Table 14–3 iostream Man Pages Overview

Man Page 

Overview  

filebuf

Details the public interface for the class filebuf, which is derived from streambuf and is specialized for use with files. See the sbufpub(3CC4) and sbufprot(3CC4) man pages for details of features inherited from class streambuf. Use the filebuf class through class fstream.

fstream

Details specialized member functions of classes ifstream, ofstream, and fstream, which are specialized versions of istream, ostream, and iostream for use with files.

ios

Details parts of class ios, which functions as a base class for iostreams. It contains state data common to all streams.

ios.intro

Gives an introduction to and overview of iostreams.

istream

Details the following: 

  • Member functions for class istream, which supports interpretation of characters fetched from a streambuf

  • Input formatting

  • Positioning functions described as part of class ostream.

  • Some related functions

  • Related manipulators

manip

Describes the input and output manipulators defined in the iostream library.

ostream

Details the following: 

  • Member functions for class ostream, which supports interpretation of characters written to a streambuf

  • Output formatting

  • Positioning functions described as part of class ostream

  • Some related functions

  • Related manipulators

sbufprot

Describes the interface needed by programmers who are coding a class derived from class streambuf. Also refer to the sbufpub(3CC4) man page because some public functions are not discussed in the sbufprot(3CC4) man page.

sbufpub

Details the public interface of class streambuf, in particular, the public member functions of streambuf. This man page contains the information needed to manipulate a streambuf-type object directly, or to find out about functions that classes derived from streambuf inherit from it. If you want to derive a class from streambuf, also see the sbufprot(3CC4) man page.

ssbuf

Details the specialized public interface of class strstreambuf, which is derived from streambuf and specialized for dealing with arrays of characters. See the sbufpub(3CC4) man page for details of features inherited from class streambuf.

stdiobuf

Contains a minimal description of class stdiobuf, which is derived from streambuf and specialized for dealing with stdio FILEs. See the sbufpub(3CC4) man page for details of features inherited from class streambuf.

strstream

Details the specialized member functions of strstreams, which are implemented by a set of classes derived from the iostream classes and specialized for dealing with arrays of characters.