From dab00190afd5387719799cfb0e38b119eda6786b 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/. --- trunk/doc/ChangeLog | 5 +++++ trunk/doc/gpgme.texi | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/trunk/doc/ChangeLog b/trunk/doc/ChangeLog index 759c289..6ff31d6 100644 --- a/trunk/doc/ChangeLog +++ b/trunk/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/trunk/doc/gpgme.texi b/trunk/doc/gpgme.texi index 04deff3..c9aebea 100644 --- a/trunk/doc/gpgme.texi +++ b/trunk/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 -- 2.26.2