This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
zlib-uncompress usage
- From: bhanuprakash kandimalla <kbhanu at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 5 May 2004 23:48:26 -0700 (PDT)
- Subject: [ECOS] zlib-uncompress usage
Hello Ecos World:
Did any one use the zlib uncompress function. This
funtion has the following structure:uncompress(dest,
dest_len, source, source_len). Is there anylimit on
the souce_len to use. I have a compressed image stored
in boot flash and want to uncompress onto RAM. The
source file is of 177768 bytes. Some how when I use
this function, it always returns Z_MEM_ERROR. (I used
the Cygwin tool to create the compressed image
(gzip)).
Can someone suggest me where I am doing wrong. I
appreciate any help.
Thanks in advance,
Bhanu.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss