64 fprintf(stderr,
"fitblk abort: %s\n", why);
115 if (
inf->avail_out != 0)
138 quit(
"need one argument: size of output block");
139 ret = strtol(
argv[1],
argv + 1, 10);
141 quit(
"argument must be a number");
143 quit(
"need positive size of 8 or greater");
153 quit(
"out of memory");
160 quit(
"error reading input");
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
167 quit(
"error writing output");
174 "%u bytes unused out of %u requested (all input)\n",
188 quit(
"out of memory");
199 quit(
"out of memory");
214 quit(
"out of memory");
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
220 quit(
"error writing output");
230 "%u bytes unused out of %u requested (%lu input)\n",
const lzma_allocator const uint8_t * in
int ZEXPORT deflateReset(z_streamp strm)
int ZEXPORT deflateEnd(z_streamp strm)
int ZEXPORT deflate(z_streamp strm, int flush)
int partcompress(FILE *in, z_streamp def)
int main(int argc, char **argv)
int recompress(z_streamp inf, z_streamp def)
RZ_API void Ht_() free(HtName_(Ht) *ht)
int ZEXPORT inflate(z_streamp strm, int flush)
int ZEXPORT inflateReset(z_streamp strm)
int ZEXPORT inflateEnd(z_streamp strm)
void * malloc(size_t size)
static static fork const void static count static fd const char const char static newpath char char argv
static void struct sockaddr socklen_t static fromlen static backlog static fork char char char static envp int struct rusage static rusage struct utsname static buf struct sembuf unsigned
assert(limit<=UINT32_MAX/2)
#define inflateInit(strm)
#define deflateInit(strm, level)
#define Z_DEFAULT_COMPRESSION
int inf(FILE *source, FILE *dest)
int def(FILE *source, FILE *dest, int level)