gz_flush
extern int gz_flush(void *, int);
if (s->z_mode == 'w' && (err = gz_flush (s, Z_FINISH)) == Z_OK) {