History | View | Annotate | Download (7.2 kB)
rewrite iov_send_recv() and move it to iov.c
Make it much more understandable, add a missingiov_cnt argument (number of iovs in the iov), andadd comments to it.
The new implementation has been extensively testedby splitting a large buffer into many small...
rewrite iov_* functions
This changes implementations of all iov_*functions, completing the previous step.
All iov_* functions now ensure that this offsetargument is within the iovec (using assertion),but lets to specify `bytes' value larger thanactual length of the iovec - in this case they...