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

Function cfmakeraw

lib/termios.c:826–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824----------------------------------------------------------*/
825
826void cfmakeraw(struct termios *s_termios)
827{
828 ENTER("cfmakeraw");
829 s_termios->c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP
830 | INLCR | IGNCR | ICRNL | IXON);
831 s_termios->c_oflag &= ~OPOST;
832 s_termios->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
833 s_termios->c_cflag &= ~(CSIZE | PARENB);
834 s_termios->c_cflag |= CS8;
835 LEAVE("cfmakeraw");
836}
837
838/*----------------------------------------------------------
839init_serial_struct()

Callers 2

init_termiosFunction · 0.85
serial_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected