Searched refs:gzread (Results 1 - 4 of 4) sorted by relevance

/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Dgzio.c352 gzread returns the number of bytes actually read (0 for end of file).
354 int ZEXPORT gzread (file, buf, len) function
453 return gzread(file, &c, 1) == 1 ? c : -1;
474 while (--len > 0 && gzread(file, buf, 1) == 1 && *buf++ != '\n') ;
652 Sets the starting position for the next gzread or gzwrite on the given
730 size = gzread(file, s->outbuf, (uInt)size);
763 Returns the starting position for the next gzread or gzwrite on the
H A Dminigzip.c177 len = gzread(in, buf, sizeof(buf));
H A Dzlib.h668 case gzread will directly read from the file without decompression.
696 ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len));
699 If the input file was not in gzip format, gzread copies the given number
701 gzread returns the number of uncompressed bytes actually read (0 for
760 Sets the starting position for the next gzread or gzwrite on the
784 Returns the starting position for the next gzread or gzwrite on the
H A Dexample.c120 uncomprLen = gzread(file, uncompr, (unsigned)uncomprLen);
122 fprintf(stderr, "gzread err: %s\n", gzerror(file, &err));
126 fprintf(stderr, "bad gzread: %s\n", (char*)uncompr);
129 printf("gzread(): %s\n", (char *)uncompr);

Completed in 19 milliseconds