MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / DCB_to_termios

Function DCB_to_termios

lib/termios.c:2171–2178  ·  view source on GitHub ↗

---------------------------------------------------------- DCB_to_termios() accept: perform: return: exceptions: win32api: None comments: ----------------------------------------------------------*/

Source from the content-addressed store, hash-verified

2169 comments:
2170----------------------------------------------------------*/
2171static void DCB_to_termios(DCB *dcb, struct termios *s_termios)
2172{
2173 ENTER("DCB_to_termios");
2174 s_termios->c_ispeed = CBR_to_B(dcb->BaudRate);
2175 s_termios->c_ospeed = s_termios->c_ispeed;
2176 s_termios->c_cflag |= s_termios->c_ispeed & CBAUD;
2177 LEAVE("DCB_to_termios");
2178}
2179
2180/*----------------------------------------------------------
2181show_DCB()

Callers 1

tcgetattrFunction · 0.85

Calls 1

CBR_to_BFunction · 0.85

Tested by

no test coverage detected