From 27e9625668eadbf0dc52d03e4b3d19bcad8fcaee Mon Sep 17 00:00:00 2001 From: Moritz Schulte Date: Wed, 1 Nov 2006 10:02:12 +0000 Subject: [PATCH] 2006-11-01 Moritz Schulte * gpgme.texi (Data Buffer I/O Operations): Fixed entry for gpgme_data_seek: OFFSET is not a pointer; some s/whence/offset/. --- doc/ChangeLog | 5 +++++ doc/gpgme.texi | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 759c2891..6ff31d60 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-11-01 Moritz Schulte + + * gpgme.texi (Data Buffer I/O Operations): Fixed entry for + gpgme_data_seek: OFFSET is not a pointer; some s/whence/offset/. + 2006-09-25 Marcus Brinkmann * gpgme.texi (Destroying Data Buffers): Clarify that diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 04deff31..c9aebeac 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -1773,7 +1773,7 @@ The function returns the number of bytes actually written, or -1 if an error occurs. If an error occurs, @var{errno} is set. @end deftypefun -@deftypefun off_t gpgme_data_seek (@w{gpgme_data_t @var{dh}}, @w{off_t *@var{offset}}, @w{int @var{whence}}) +@deftypefun off_t gpgme_data_seek (@w{gpgme_data_t @var{dh}}, @w{off_t @var{offset}}, @w{int @var{whence}}) The function @code{gpgme_data_seek} changes the current read/write position. @@ -1782,15 +1782,15 @@ interpreted. It must be one of the following symbolic constants: @table @code @item SEEK_SET -Specifies that @var{whence} is a count of characters from the +Specifies that @var{offset} is a count of characters from the beginning of the data object. @item SEEK_CUR -Specifies that @var{whence} is a count of characters from the current +Specifies that @var{offset} is a count of characters from the current file position. This count may be positive or negative. @item SEEK_END -Specifies that @var{whence} is a count of characters from the end of +Specifies that @var{offset} is a count of characters from the end of the data object. A negative count specifies a position within the current extent of the data object; a positive count specifies a position past the current end. If you set the position past the