Searched refs:z_mode (Results 1 – 1 of 1) sorted by relevance
87 char z_mode; /* 'w' or 'r' */ member127 s->z_mode = mode[0]; in gz_open()129 if (s->z_mode == 'w') { in gz_open()153 if (s->z_mode == 'w') { in gz_open()180 if (s->z_mode == 'w' && (err = gz_flush (s, Z_FINISH)) == Z_OK) { in gz_close()189 if (s->z_mode == 'w') in gz_close()195 else if (s->z_mode == 'r') in gz_close()227 if (s == NULL || s->z_mode != 'w') { in gz_flush()