DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_ttystream.3.en
ost::ttystream(3) Library Functions Manual ost::ttystream(3)

ost::ttystream - A more natural C++ 'ttystream' class for use by non-threaded applications.

#include <serial.h>

Inherits ost::TTYStream.


ttystream ()
Construct an unopened 'ttystream' object. ttystream (const char *name)
Construct and 'open' a tty stream object. void open (const char *name)
Open method for a tty stream. void close (void)
Close method for a tty stream. bool operator! ()
Test to see if stream is opened.

A more natural C++ 'ttystream' class for use by non-threaded applications.

This class behaves a lot more like fstream and similar classes.

Author:

David Sugar dyfet@ostel.com C++ 'fstream' style ttystream class.

Construct an unopened 'ttystream' object.

Construct and 'open' a tty stream object. A filename in the form 'device:options[,options]' may be used to pass device options as part of the open.

Parameters:

name of file and serial options.

Close method for a tty stream.

Open method for a tty stream.

Parameters:

name filename to open.

Test to see if stream is opened.

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Wed Oct 31 2018 GNU CommonC++