Reads the original-filename-field of the gz-header.
Returns Z_STREAM_ERROR on errors or Z_OK.
To use this vi the file must be opened with Mode:
"r","rb","r+", "r+b", "w+" or "w+b"
file/in "gz" filehandle from xzopen. |
Result |
file/out |
origname Path and name of the original file, empty if this gz-header-field is not used. |