[svn] gcry - r1392 - in trunk: . doc
svn author wk
cvs at cvs.gnupg.org
Sun Feb 22 22:19:32 CET 2009
Author: wk
Date: 2009-02-22 22:19:31 +0100 (Sun, 22 Feb 2009)
New Revision: 1392
Modified:
trunk/THANKS
trunk/doc/ChangeLog
trunk/doc/gcrypt.texi
Log:
Doc fixes
Modified: trunk/doc/ChangeLog
===================================================================
--- trunk/doc/ChangeLog 2009-02-16 21:05:37 UTC (rev 1391)
+++ trunk/doc/ChangeLog 2009-02-22 21:19:31 UTC (rev 1392)
@@ -1,3 +1,8 @@
+2009-02-22 Werner Koch <wk at g10code.com>
+
+ * gcrypt.texi (Memory allocation): Fix describion of gcry-calloc.
+ Reported by Sergi Blanch i Torné.
+
2008-12-10 Werner Koch <wk at g10code.com>
* gcrypt.texi (Cryptographic Functions): Explain the domain
Modified: trunk/THANKS
===================================================================
--- trunk/THANKS 2009-02-16 21:05:37 UTC (rev 1391)
+++ trunk/THANKS 2009-02-22 21:19:31 UTC (rev 1392)
@@ -118,6 +118,7 @@
Roland Rosenfeld roland at spinnaker.rhein.de
Ross Golder rossigee at bigfoot.com
Serge Munhoven munhoven at mema.ucl.ac.be
+Sergi Blanch i Torné sergi at calcurco cat
Simon Josefsson jas at extundo.com
SL Baur steve at xemacs.org
Stephan Austermuehle au at hcsd.de
Modified: trunk/doc/gcrypt.texi
===================================================================
--- trunk/doc/gcrypt.texi 2009-02-16 21:05:37 UTC (rev 1391)
+++ trunk/doc/gcrypt.texi 2009-02-22 21:19:31 UTC (rev 1392)
@@ -4643,15 +4643,15 @@
Like @code{gcry_malloc}, but uses secure memory.
@end deftypefun
- at deftypefun {void *} gcry_calloc (size_t @var{n})
+ at deftypefun {void *} gcry_calloc (size_t @var{n}, size_t @var{m})
-This function tries to allocate @var{n} bytes of cleared memory
-(i.e. memory that is initialized with zero bytes). On success it
-returns a pointer to the memory area, in an out-of-core condition, it
-returns NULL.
+This function allocates a cleared block of memory (i.e. initialized with
+zero bytes) long enough to contain a vector of @var{n} elements, each of
+size @var{m} bytes. On success it returns a pointer to the memory
+block; in an out-of-core condition, it returns NULL.
@end deftypefun
- at deftypefun {void *} gcry_calloc_secure (size_t @var{n})
+ at deftypefun {void *} gcry_calloc_secure (size_t @var{n}, size_t @var{m})
Like @code{gcry_calloc}, but uses secure memory.
@end deftypefun
More information about the Gnupg-commits
mailing list