---------------------------------------------------------- DCB_to_termios() accept: perform: return: exceptions: win32api: None comments: ----------------------------------------------------------*/
| 2169 | comments: |
| 2170 | ----------------------------------------------------------*/ |
| 2171 | static 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 | /*---------------------------------------------------------- |
| 2181 | show_DCB() |