SunOS doesn't have the cfsetspeed convenience function.
| 37 | #ifdef __sun |
| 38 | // SunOS doesn't have the cfsetspeed convenience function. |
| 39 | int |
| 40 | cfsetspeed(struct termios *tios, speed_t speed) |
| 41 | { |
| 42 | return (cfsetispeed(tios, speed) || cfsetospeed(tios, speed)); |
| 43 | } |
| 44 | #endif |
| 45 | |
| 46 | using namespace OpenZWave; |