How can I clean input/output buffers by analogy with MS Windows: DeviceIOControl()-->IOCTL_SERIAL_PURGE (RXCLEAR TXCLEAR)? Thanks, Serge Kuravlev