summaryrefslogtreecommitdiff
path: root/lib/gc.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-10-11 19:17:09 +0000
committerSimon Josefsson <simon@josefsson.org>2005-10-11 19:17:09 +0000
commit88eaa60de629829b729ebcb18e24d8045b3da124 (patch)
treeed64233542a7aea21cf8146f2d67862fce832e66 /lib/gc.h
parentc62f7618f8da5380743fc93f0d71b0dafc8db8c7 (diff)
downloadgnulib-88eaa60de629829b729ebcb18e24d8045b3da124.tar.gz
Doc fix.
Diffstat (limited to 'lib/gc.h')
-rw-r--r--lib/gc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gc.h b/lib/gc.h
index 9932770d83..acfd3b9cc3 100644
--- a/lib/gc.h
+++ b/lib/gc.h
@@ -68,7 +68,8 @@ extern void gc_set_allocators (gc_malloc_t func_malloc,
algorithm HASH, placing the result in the pre-allocated buffer OUT.
The required size of OUT depends on HASH, and is generally
GC_<HASH>_DIGEST_SIZE. For example, for GC_MD5 the output buffer
- must be 16 bytes. */
+ must be 16 bytes. The return value is 0 (GC_OK) on success, or
+ another Gc_rc error code. */
extern int
gc_hash_buffer (int hash, const void *in, size_t inlen, char *out);