diff options
author | Keith Packard <keithp@keithp.com> | 2013-11-02 19:10:11 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-02 19:10:11 -0700 |
commit | 58151f63553faf81babd1371770b7a7f33cecac1 (patch) | |
tree | 22f5aba39597f1f162472902a3ba8896e59b6dc0 | |
parent | 1fb0fd555a16dd8fce4abc6d3fd22b315f46762a (diff) |
Revert "Remove 'Readv' interface"
This reverts commit 9e8d99c2e27f2c8acbbfb5b760649aa1bfad665e.
libFS still uses this API...
-rw-r--r-- | Xtrans.c | 7 | ||||
-rw-r--r-- | Xtrans.h | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -866,6 +866,13 @@ TRANS(Write) (XtransConnInfo ciptr, char *buf, int size) } int +TRANS(Readv) (XtransConnInfo ciptr, struct iovec *buf, int size) + +{ + return ciptr->transptr->Readv (ciptr, buf, size); +} + +int TRANS(Writev) (XtransConnInfo ciptr, struct iovec *buf, int size) { @@ -344,6 +344,12 @@ int TRANS(Write)( int /* size */ ); +int TRANS(Readv)( + XtransConnInfo, /* ciptr */ + struct iovec *, /* buf */ + int /* size */ +); + int TRANS(Writev)( XtransConnInfo, /* ciptr */ struct iovec *, /* buf */ |