summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2024-07-30 14:26:07 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2024-07-30 14:26:07 (GMT)
commit475310a234049e6258e94d87ef0e71a9d360ef96 (patch)
tree24f21370405b4abc2bf39d6873fa4d2ea07a9374
parentef9484af81299d635ebbdc57c6ed642fe0e3944a (diff)
parentaa26116942b9077f42509ef0abfdb810411d51ab (diff)
downloadtcl-475310a234049e6258e94d87ef0e71a9d360ef96.zip
tcl-475310a234049e6258e94d87ef0e71a9d360ef96.tar.gz
tcl-475310a234049e6258e94d87ef0e71a9d360ef96.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 7a9628c..a257a39 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 "Tcl_Size" 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.