2 static const char rcsid[] = "$Id: readv.c,v 1.1 2001/03/29 06:30:35 marka Exp $";
5 #include "port_before.h"
10 #include <sys/socket.h>
12 #include "port_after.h"
15 int __bindcompat_readv;
19 __readv(fd, vp, vpcount)
21 const struct iovec *vp;
26 while (vpcount-- > 0) {
27 int bytes = read(fd, vp->iov_base, vp->iov_len);
32 if (bytes != vp->iov_len)
38 #endif /* NEED_READV */