MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / cfsetspeed

Function cfsetspeed

cpp/src/platform/unix/SerialControllerImpl.cpp:39–43  ·  view source on GitHub ↗

SunOS doesn't have the cfsetspeed convenience function.

Source from the content-addressed store, hash-verified

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

Callers 1

InitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected