Skip to contentSkip to conversation

A problem about the mkcramfs!

DISCUSSION 新 月 2 participants 2 messages Jul 30, 2001 – Aug 1, 2001

lore
Share & tools
lore

新 月

author
#0 lore raw

The mkcramfs uses a function "compress",which is
defined in 'zlib.h'.I feel it is a bit odd,which
is defined as following:

ZEXTERN int ZEXPORT compress OF((Bytef *dest,uLongf
*destLen,const Bytef *source, uLong sourceLen));

And I can't find its body,only find definition.I want to get explanation.Thanks

Best regards:
xinyuepeng

#1 lore raw
Quoted 9 lines · [email protected] writes:

The mkcramfs uses a function "compress",which is
defined in 'zlib.h'.I feel it is a bit odd,which
is defined as following:

ZEXTERN int ZEXPORT compress OF((Bytef *dest,uLongf
*destLen,const Bytef *source, uLong sourceLen));

And I can't find its body,only find definition.I want to get explanation.Thanks

http://www.gzip.org/zlib/manual.html !

Dan