Back to index

python3.2  3.2.2
gzclose.c File Reference
#include "gzguts.h"

Go to the source code of this file.


int ZEXPORT gzclose (gzFile file)

Function Documentation

Definition at line 11 of file gzclose.c.

    gz_statep state;

    if (file == NULL)
        return Z_STREAM_ERROR;
    state = (gz_statep)file;

    return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
    return gzclose_r(file);

Here is the call graph for this function:

Here is the caller graph for this function: