#include <serial.h>

Public Member Functions | |
| 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. | |
This class behaves a lot more like fstream and similar classes.
| ost::ttystream::ttystream | ( | ) |
Construct an unopened "ttystream" object.
| ost::ttystream::ttystream | ( | const char * | name | ) |
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.
| name | of file and serial options. |
| void ost::ttystream::open | ( | const char * | name | ) |
| void ost::ttystream::close | ( | void | ) |
| bool ost::ttystream::operator! | ( | void | ) | [inline] |
Test to see if stream is opened.
1.5.4