func: GZWFILE_T gzwfile_open(const char *path) int fd ; fd = open ( path , 0 | 01 | 0100 | 01000 , 0666 ); if ( fd == - 1 )  state = gzwfile_fdopen ( fd ); GZWFILE_T gzwfile_fdopen(int fd) state -> fd = fd; state -> size = 0; state -> want = 4096; state -> level = - 1; state -> strategy = 0; state -> err = 0; state -> pos = 0; state -> strm . avail_in = 0; return state ; if ( state == ( ( void * ) 0 ) )  close ( fd ); return state ; 