Unicode C
Unicode C
UnGzip .tgz to get a .tar
See more Tar Archive Examples
A .tgz is simply a TAR archive compressed using GZip. It is also commonly referred to as a .tar.gz. Chilkat GZip can be used to ungzip to get an uncompressed .tar.Chilkat Unicode C Downloads
#include <C_CkGzipW.h>
void ChilkatSample(void)
{
BOOL success;
HCkGzipW gzip;
success = FALSE;
gzip = CkGzipW_Create();
success = CkGzipW_UncompressFile(gzip,L"qa_data/tar/test.tgz",L"qa_output/test.tar");
if (success != TRUE) {
wprintf(L"%s\n",CkGzipW_lastErrorText(gzip));
}
else {
wprintf(L"success.\n");
}
CkGzipW_Dispose(gzip);
}