commit | bbac92e691de7d570928ddfba639067978e55b06 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Mar 28 19:57:00 2011 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Mar 29 09:34:20 2011 -0700 |
tree | 583420120f53755d75ba313a8c1582142a1996d0 | |
parent | 9babc0429286668ed6ae5d8f2427d5853fc00e46 [diff] |
Add readv(2)/writev(2). The old implementation would cheat if it was given non-direct buffers, copying them into newly-allocated direct buffers. (The network Channel implementations are worse: they copy all the data into a single buffer, and then read/write that. I'll get to them eventually.) Bug: 3107501 Change-Id: I1655bacb042e7ebcde7e5bc5cf2c71e7ce5e30af