serialport-rs icon indicating copy to clipboard operation
serialport-rs copied to clipboard

handle EINTR return code from tcdrain to effectively flush

Open ndusart opened this issue 4 months ago • 4 comments

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.

ndusart avatar Oct 23 '24 13:10 ndusart