#include <serial.h>
Inheritance diagram for ttystream::

Public Methods | |
| ttystream () | |
| Construct an unopened "ttystream" object. More... | |
| ttystream (const char *name) | |
| Construct and "open" a tty stream object. More... | |
| void | open (const char *name) |
| Open method for a tty stream. More... | |
| void | close (void) |
| Close method for a tty stream. More... | |
| bool | operator! () |
| Test to see if stream is opened. More... | |
This class behaves a lot more like fstream and similar classes.
|
|
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.
|
|
|
Close method for a tty stream.
|
|
|
Open method for a tty stream.
|
|
|
Test to see if stream is opened.
|
1.2.10 written by Dimitri van Heesch,
© 1997-2001