#include <rutz/serialport.h>
Public Member Functions | |
| serial_port (const char *serial_device) | |
| int | get () |
| int | close () |
| Returns the exit status of closing its stream. | |
| bool | is_closed () const |
| int | exit_status () const |
Definition at line 46 of file serialport.h.
| int rutz::serial_port::get | ( | ) |
Returns the next character from the stream, or EOF (-1) if the stream is empty.
Definition at line 106 of file serialport.cc.