serialport-rs
serialport-rs copied to clipboard
handle EINTR return code from tcdrain to effectively flush
Hi, this PR adds the handling of EINTR return code from tcdrain
.
If returning EINTR, it does not mean an actual error for the flushing operation and this should be retried.