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