From 2d2ef9c2bf6e195d6e853b5234e79555974c242b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 18 Mar 2013 20:22:31 +0100 Subject: [PATCH] Improve documentation of readv_nonblock(). Define the meaning of "sz". --- fd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fd.c b/fd.c index 3a8406d9..133f5d3b 100644 --- a/fd.c +++ b/fd.c @@ -162,9 +162,9 @@ __printf_2_3 int write_va_buffer(int fd, const char *fmt, ...) * * If \a rfds is not \p NULL and the (non-blocking) file descriptor \a fd is * not set in \a rfds, this function returns early without doing anything. - * Otherwise The function tries to read up to \a sz bytes from \a fd. As for - * xwrite(), EAGAIN is not considered an error condition. However, EOF - * is. + * Otherwise The function tries to read up to \a sz bytes from \a fd, where \a + * sz is the sum of the lengths of all vectors in \a iov. As for xwrite(), + * \p EAGAIN is not considered an error condition. However, \p EOF is. * * \return Zero or a negative error code. If the underlying call to readv(2) * returned zero (indicating an end of file condition) or failed for some -- 2.39.2