unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] manual: fix description for preadv()
@ 2021-07-06 10:54 Armin Brauns via Libc-alpha
  2021-07-06 14:24 ` Florian Weimer via Libc-alpha
  0 siblings, 1 reply; 2+ messages in thread
From: Armin Brauns via Libc-alpha @ 2021-07-06 10:54 UTC (permalink / raw
  To: libc-alpha; +Cc: Armin Brauns

---
 manual/llio.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manual/llio.texi b/manual/llio.texi
index cbc4909fd5..eafc27120d 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -1161,7 +1161,7 @@ error.  The possible errors are the same as in @code{write}.
 
 This function is similar to the @code{readv} function, with the difference
 it adds an extra @var{offset} parameter of type @code{off_t} similar to
-@code{pread}.  The data is written to the file starting at position
+@code{pread}.  The data is read from the file starting at position
 @var{offset}.  The position of the file descriptor itself is not affected
 by the operation.  The value is the same as before the call.
 
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] manual: fix description for preadv()
  2021-07-06 10:54 [PATCH] manual: fix description for preadv() Armin Brauns via Libc-alpha
@ 2021-07-06 14:24 ` Florian Weimer via Libc-alpha
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer via Libc-alpha @ 2021-07-06 14:24 UTC (permalink / raw
  To: Armin Brauns via Libc-alpha; +Cc: Armin Brauns

* Armin Brauns via Libc-alpha:

> ---
>  manual/llio.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/manual/llio.texi b/manual/llio.texi
> index cbc4909fd5..eafc27120d 100644
> --- a/manual/llio.texi
> +++ b/manual/llio.texi
> @@ -1161,7 +1161,7 @@ error.  The possible errors are the same as in @code{write}.
>  
>  This function is similar to the @code{readv} function, with the difference
>  it adds an extra @var{offset} parameter of type @code{off_t} similar to
> -@code{pread}.  The data is written to the file starting at position
> +@code{pread}.  The data is read from the file starting at position
>  @var{offset}.  The position of the file descriptor itself is not affected
>  by the operation.  The value is the same as before the call.

Thanks, applied.

Florian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-06 14:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-06 10:54 [PATCH] manual: fix description for preadv() Armin Brauns via Libc-alpha
2021-07-06 14:24 ` Florian Weimer via Libc-alpha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).