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