Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

int HAMLIB_API serial_flush ( hamlib_port_t p  ) 

Flush all characters waiting in RX buffer.

Parameters:
p 
Returns:
RIG_OK

Definition at line 370 of file serial.c.

References hamlib_port_t::fd, and RIG_OK.

{
  tcflush(p->fd, TCIFLUSH);

  return RIG_OK;
}


Generated by  Doxygen 1.6.0   Back to index