blob: 0d384a4e22010eb3bfd374f02d75febd4fda66ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <sys/uio.h>
#include <errno.h>
#include <skalibs/allreadwrite.h>
ssize_t fd_readv (int fd, struct iovec const *v, unsigned int vlen)
{
ssize_t r ;
do r = readv(fd, v, vlen) ;
while ((r == -1) && (errno == EINTR)) ;
return r ;
}
|