Top: Streams: Standard input, output and error devices
#include <pstreams.h> instm pin; outstm pout; outstm perr;
PTypes declares three static stream objects for standard input, output and error devices - pin, pout and perr respectively. These objects can be used in place of the standard C or C++ input/output interfaces.
See also: iobase, instm, outstm, Examples