aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/gpgme.texi8
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 <[email protected]>
+
+ * 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 <[email protected]>
* 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