于 2016/01/27 0:38, Cyril Hrubis 写道: > Hi! > Both pushed, thanks. > > BTW: both preadv() and pwritev() can also fail with errors specified for > read() and write(), so we should, get EBADFD if fd is invalid or not > open for reading/writing for read/write, etc. Thanks for your suggestion. I will send patches to test other errors.