Skip to main content

uncompress_file

Discworld driver help

uncompress_file

Name

uncompress_file() - Uncompress a file compressed with gzip.

Synopsis

varargs int uncompress_file( string file, string output )

Description

This efun will uncompress the gzip-compressed file `file'. The uncompressed file will be saved in the file `output' or, if `output' isn't given, in the original file name stripped of the extension ".gz". The original file will be deleted. The efun returns 1 upon success and 0 upon failure.

See also

compress_file, uncompress, compress