diff options
Diffstat (limited to 'src/libstddjb/fd_writev.c')
-rw-r--r-- | src/libstddjb/fd_writev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/fd_writev.c b/src/libstddjb/fd_writev.c index d48d7f1..c54a20e 100644 --- a/src/libstddjb/fd_writev.c +++ b/src/libstddjb/fd_writev.c @@ -5,9 +5,9 @@ #include <errno.h> #include <skalibs/allreadwrite.h> -int fd_writev (int fd, struct iovec const *v, unsigned int vlen) +ssize_t fd_writev (int fd, struct iovec const *v, unsigned int vlen) { - register int r ; + register ssize_t r ; do r = writev(fd, v, vlen) ; while ((r == -1) && (errno == EINTR)) ; return r ; |