Hi,I recently noticed that read() from a usb-serial device does not fail after the device got removed.
Is this really the correct/expected behavior or a bug ?I would expect it to return -1 and set an appropriate errno, but it returns 0 (no error, no bytes read) instead.
According to the glibc developers "glibc just calls into the kernel and reports back whatever it receives from there."
Regards, Frank