SERIAL++ library: simple serial port access

◆ clocal()

void serialport::SerialPort::clocal ( ) const

set clocal

Definition at line 123 of file serialport.cc.

References Mfd.

124  {
125  struct termios options;
126  ::tcgetattr(Mfd, &options);
127  options.c_cflag |= CLOCAL;
128  ::tcsetattr(Mfd, TCSANOW, &options);
129  } // void SerialPort::clocal() const
int Mfd
file descriptor to this port
Definition: serialport.h:90