z_open
extern void *z_open(int, const char *, char *, int, u_int32_t, int);
if ((cookie = z_open(fd, mode, NULL, bits, 0, 0)) == NULL) {