diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-08-18 06:09:11 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-08-18 06:09:11 +0000 |
commit | acc3038cdf3c465fb1e9a29e2ae6c8591e2dd0e5 (patch) | |
tree | 6a7b7ee696ed4250643584630f626e897b00bc9d /sys/lib | |
parent | b764397f4df1351500d65e1a9128ab5d4ffc4707 (diff) |
sync with userland
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libz/zlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libz/zlib.h b/sys/lib/libz/zlib.h index f836fec8920..d8b29009620 100644 --- a/sys/lib/libz/zlib.h +++ b/sys/lib/libz/zlib.h @@ -320,8 +320,8 @@ ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush); with the same value of the flush parameter and more output space (updated avail_out), until the flush is complete (deflate returns with non-zero avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that - avail_out is greater than six to avoid repeated flush markers due to - avail_out == 0 on return. + avail_out is greater than six when the flush marker begins, in order to avoid + repeated flush markers upon calling deflate() again when avail_out == 0. If the parameter flush is set to Z_FINISH, pending input is processed, pending output is flushed and deflate returns with Z_STREAM_END if there was |