(file)     gzFile file; {     gz_statep state;      /* get internal structure and check integrity */     if (file == NULL)         return 0;     state = (gz_statep)file;     if (state->mode != GZ_READ && state->mode != GZ_WRITE)         return 