summaryrefslogtreecommitdiff
path: root/lib/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/md5.h')
-rw-r--r--lib/md5.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/md5.h b/lib/md5.h
index b41eaf42c13..4deba38f0e5 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -122,8 +122,11 @@ extern void *__md5_buffer (const char *buffer, size_t len,
void *resblock) __THROW;
# endif
-/* Compute MD5 message digest for bytes read from STREAM. The
- resulting message digest number will be written into the 16 bytes
+/* Compute MD5 message digest for bytes read from STREAM.
+ STREAM is an open file stream. Regular files are handled more efficiently.
+ The contents of STREAM from its current position to its end will be read.
+ The case that the last operation on STREAM was an 'ungetc' is not supported.
+ The resulting message digest number will be written into the 16 bytes
beginning at RESBLOCK. */
extern int __md5_stream (FILE *stream, void *resblock) __THROW;