summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2024-07-30 14:18:52 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2024-07-30 14:18:52 (GMT)
commit112d2f30567307db2e61e64d72cd800248d663be (patch)
tree1b4012bc65e8e928ca10f13c9a5bc400373f257d
parent5f3c32b889d1b4df82754f9b53050340935136b7 (diff)
downloadtcl-112d2f30567307db2e61e64d72cd800248d663be.zip
tcl-112d2f30567307db2e61e64d72cd800248d663be.tar.gz
tcl-112d2f30567307db2e61e64d72cd800248d663be.tar.bz2
[3adf9e3a] Document argument bufferSize of Tcl_ZlibInflate
-rw-r--r--doc/TclZlib.35
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/TclZlib.3 b/doc/TclZlib.3
index 4a5df89..106a5ef 100644
--- a/doc/TclZlib.3
+++ b/doc/TclZlib.3
@@ -18,7 +18,7 @@ int
\fBTcl_ZlibDeflate\fR(\fIinterp, format, dataObj, level, dictObj\fR)
.sp
int
-\fBTcl_ZlibInflate\fR(\fIinterp, format, dataObj, dictObj\fR)
+\fBTcl_ZlibInflate\fR(\fIinterp, format, dataObj, bufferSize, dictObj\fR)
.sp
unsigned int
\fBTcl_ZlibCRC32\fR(\fIinitValue, bytes, length\fR)
@@ -85,6 +85,9 @@ section \fBGZIP OPTIONS DICTIONARY\fR for details about the contents of this
dictionary.
.AP "unsigned int" initValue in
The initial value for the checksum algorithm.
+.AP "int" bufferSize in
+A hint as to what size of buffer is to be used to receive the data.
+Use 0 to use a geric guess based on the input data.
.AP "unsigned char" *bytes in
An array of bytes to run the checksum algorithm over, or NULL to get the
recommended initial value for the checksum algorithm.