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

/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Dminigzip.c141 off_t buf_len; /* length of the input file */ local
146 buf_len = sb.st_size;
147 if (buf_len <= 0) return Z_ERRNO;
150 buf = mmap((caddr_t) 0, buf_len, PROT_READ, MAP_SHARED, ifd, (off_t)0);
154 len = gzwrite(out, (char *)buf, (unsigned)buf_len);
156 if (len != (int)buf_len) error(gzerror(out, &err));
158 munmap(buf, buf_len);

Completed in 11 milliseconds