summaryrefslogtreecommitdiff
path: root/zlib-ng.h
diff options
context:
space:
mode:
authorGreg Sjaardema <gsjaardema@gmail.com>2021-05-13 17:10:12 -0600
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-05-16 13:20:15 +0200
commit5339a31cf9349a7b7e7ab8a5a507fda917f53f87 (patch)
treee9183b87b6ef878f2f9156861a200f017f150d85 /zlib-ng.h
parent54b1c13c37b53f2481f02576657cedfef29fce2f (diff)
Spelling fixes
Diffstat (limited to 'zlib-ng.h')
-rw-r--r--zlib-ng.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zlib-ng.h b/zlib-ng.h
index 84228cb..b506fad 100644
--- a/zlib-ng.h
+++ b/zlib-ng.h
@@ -273,7 +273,7 @@ int32_t zng_deflate(zng_stream *strm, int32_t flush);
== 0), or after each call of deflate(). If deflate returns Z_OK and with
zero avail_out, it must be called again after making room in the output
buffer because there might be more output pending. See deflatePending(),
- which can be used if desired to determine whether or not there is more ouput
+ which can be used if desired to determine whether or not there is more output
in that case.
Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
@@ -655,7 +655,7 @@ int32_t zng_deflateGetDictionary(zng_stream *strm, uint8_t *dictionary, uint32_t
to dictionary. dictionary must have enough space, where 32768 bytes is
always enough. If deflateGetDictionary() is called with dictionary equal to
Z_NULL, then only the dictionary length is returned, and nothing is copied.
- Similary, if dictLength is Z_NULL, then it is not set.
+ Similarly, if dictLength is Z_NULL, then it is not set.
deflateGetDictionary() may return a length less than the window size, even
when more than the window size in input has been provided. It may return up
@@ -903,7 +903,7 @@ int32_t zng_inflateGetDictionary(zng_stream *strm, uint8_t *dictionary, uint32_t
to dictionary. dictionary must have enough space, where 32768 bytes is
always enough. If inflateGetDictionary() is called with dictionary equal to
NULL, then only the dictionary length is returned, and nothing is copied.
- Similary, if dictLength is NULL, then it is not set.
+ Similarly, if dictLength is NULL, then it is not set.
inflateGetDictionary returns Z_OK on success, or Z_STREAM_ERROR if the
stream state is inconsistent.
@@ -1438,7 +1438,7 @@ size_t zng_gzfread(void *buf, size_t size, size_t nitems, gzFile file);
provided, but could be inferred from the result of gztell(). This behavior
is the same as the behavior of fread() implementations in common libraries,
but it prevents the direct use of gzfread() to read a concurrently written
- file, reseting and retrying on end-of-file, when size is not 1.
+ file, resetting and retrying on end-of-file, when size is not 1.
*/
Z_EXTERN Z_EXPORT