Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2003 14:28:25 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Chris Ptacek <cptacek@sitaranetworks.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: gzip library (compressing a buffer in C)
Message-ID:  <3F09BBC9.8040603@mac.com>
In-Reply-To: <31269226357BD211979E00A0C9866DAB04D9377F@rios.sitaranetworks.com>
References:  <31269226357BD211979E00A0C9866DAB04D9377F@rios.sitaranetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Ptacek wrote:
> Does anyone know if there is a library available to allow a C program to
> gzip a buffer.  Basically I have a buffer of data that I will be transfering
> and would like to gzip it before sending. The receiving system already does
> a gunzip and I am trying to handle the same format, so other compression may
> not be available.

Absolutely: see /usr/lib/libz.a

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F09BBC9.8040603>