MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / gzflush

Function gzflush

zlib/gzio.c:751–761  ·  view source on GitHub ↗
(file, flush)

Source from the content-addressed store, hash-verified

749}
750
751int ZEXPORT gzflush (file, flush)
752 gzFile file;
753 int flush;
754{
755 gz_stream *s = (gz_stream*)file;
756 int err = do_flush (file, flush);
757
758 if (err) return err;
759 fflush(s->file);
760 return s->z_err == Z_STREAM_END ? Z_OK : s->z_err;
761}
762#endif /* NO_GZCOMPRESS */
763
764/* ===========================================================================

Callers

nothing calls this directly

Calls 1

do_flushFunction · 0.85

Tested by

no test coverage detected